IMFSensorProfileCollection::GetProfile method (mfidl.h)

Retrieves the specified profile.

Syntax

HRESULT GetProfile(
  [in]  DWORD            Index,
  [out] IMFSensorProfile **ppProfile
);

Parameters

[in] Index

Index of the profile to retrieve.

[out] ppProfile

On success, returns a double pointer to an IMFSensorProfile object that describes the specified sensor 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
DLL Mfsensorgroup.dll

See also

IMFSensorProfileCollection