IMFSensorDevice interface
Represents a sensor device that can belong to a sensor group, which is represented by the IMFSensorGroup interface. The term "device" in this context could refer to a physical device, a custom media source, or a frame provider.
Members
The IMFSensorDevice interface inherits from the IUnknown interface. IMFSensorDevice also has these types of members:
Methods
The IMFSensorDevice interface has these methods.
| Method | Description |
|---|---|
| GetDeviceAttributes |
Gets the IMFAttributes for the sensor group. |
| GetDeviceId |
Gets the unique identifier for the device. This value is currently unused. |
| GetDeviceType |
Gets a value that specifies the type of sensor device represented by the object. |
| GetFlags |
Gets the flags set for the sensor device. This method is reserved for future use. |
| GetSensorDeviceMode |
Gets a value that specifies the current sharing mode of the sensor device, which is either controller or shared. |
| GetStreamAttributes |
Gets the stream attribute store with the specified index. |
| GetStreamAttributesCount |
Gets the count of stream attribute stores for the sensor device. This number represents the number of total streams available for the device because every valid stream must have an attribute store that contains at least the stream ID and stream category. |
| GetSymbolicLink |
Gets the symbolic link name of the sensor device. |
| SetSensorDeviceMode |
Sets a value that specifies the sharing mode of the sensor device to either controller or shared. |
Requirements
|
Minimum supported client |
Windows 10, version 1607 [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
Library |
|