IMFSensorProfileCollection::FindProfile method (mfidl.h)

Finds a profile based on the specified profile ID.

Syntax

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

Parameters

[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.

Requirements

Requirement Value
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

IMFSensorProfileCollection