IMFSensorDevice interface (mfidl.h)

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.

Inheritance

The IMFSensorDevice interface inherits from the IUnknown interface. IMFSensorDevice also has these types of members:

Methods

The IMFSensorDevice interface has these methods.

 
IMFSensorDevice::GetDeviceAttributes

Gets the IMFAttributes for the sensor group.
IMFSensorDevice::GetDeviceId

Gets the unique identifier for the device. This value is currently unused.
IMFSensorDevice::GetDeviceType

Gets a value that specifies the type of sensor device represented by the object.
IMFSensorDevice::GetFlags

Gets the flags set for the sensor device. This method is reserved for future use.
IMFSensorDevice::GetSensorDeviceMode

Gets a value that specifies the current sharing mode of the sensor device, which is either controller or shared.
IMFSensorDevice::GetStreamAttributes

Gets the stream attribute store with the specified index.
IMFSensorDevice::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.
IMFSensorDevice::GetSymbolicLink

Gets the symbolic link name of the sensor device.
IMFSensorDevice::SetSensorDeviceMode

Sets a value that specifies the sharing mode of the sensor device to either controller or shared.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1607 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header mfidl.h