MFCreateSensorGroup function
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Creates an instance of the IMFSensorGroup interface based on the provided symbolic link name.
Syntax
HRESULT WINAPI MFCreateSensorGroup( LPCWSTR SensorGroupSymbolicLink, _Out_ IMFSensorGroup **ppSensorGroup );
Parameters
- SensorGroupSymbolicLink
-
The symbolic link for the new IMFSensorGroup. This name can be obtained through device enumeration APIs such as This is the symbolic link name obtained through either the standard Win32 device enumeration, such as SetupDiGetClassDevs or MFEnumDeviceSources or by getting the Id property of the DeviceInformation class.
- ppSensorGroup [out]
-
The symbolic link for the new IMFSensorGroup.
Return value
The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
|
The supplied IMFSensorGroup is null. |
|
The supplied LPCWSTR is null. |
Remarks
If the function succeeds, ppSesnorGroup will point to a valid IMFSensorGroup object. The caller must release this interface.
Requirements
|
Minimum supported client |
Windows 10, version 1607 [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|