I have implement Camera device app with C# and I want to implement extended camera properties.
I want to call VideoDeviceController.GetDeviceProperty(string propertyId);
However, I don't know how to find the definition below(C#).
I have tried two ways.
var CameraCLSID = new Guid("9D12D198-F86C-4fed-B023-5D87653DA793"); //PROPSETID_VIDCAP_CAMERACONTROL_REGION_OF_INTEREST
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ GUID find in (ksmedia.h)
object ksGetStruct = videoDevController.GetDeviceProperty(CameraCLSID.ToString());
object ksGetStruct = videoDevController.GetDeviceProperty("PROPSETID_VIDCAP_CAMERACONTROL_REGION_OF_INTEREST");
Both ways got exception
Additional information: Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))
I am also having this problem.
I get the same "The data area passed to a system call is too small." Is there any way to retrieve device information from VideoDeviceController? It would be nice to know which device it is (in case of multiple attached devices).
Same here, and still no update on this thread nor the current MSDN online help.
If MS wants us developers to write great apps for their new WinRT, why do we not get more info right from the word GO?
Before you didn't have to plough through tons of forum threads or header files or what not. When you wanted to know how to use a certain method. You just pressed F1 and there you got it or at least some hint how to find out. But not now! The best you get is an "I will look into this for you" that has not provided any help for almost four months now!