IMFSensorProfileCollection::FindProfile method (mfidl.h)

Finds a profile based on the specified profile ID.


HRESULT FindProfile(
  [in]  SENSORPROFILEID  *ProfileId,
  [out] IMFSensorProfile **ppProfile


[in] ProfileId

Pointer to the The ID of the profile to find.

[out] ppProfile

On success, returns a double pointer to the profile.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.


Minimum supported client Windows 10, version 1803 [desktop apps only]
Minimum supported server Windows Server [desktop apps only]
Target Platform Windows
Header mfidl.h
Library Mfsensorgroup.lib

See also