IMFSensorProfileCollection::AddProfile method (mfidl.h)

Adds the specified profile to the collection.

Syntax

HRESULT AddProfile(
  [in] IMFSensorProfile *pProfile
);

Parameters

[in] pProfile

Pointer to an IMFSensorProfile object describing the profile to add.

Return value

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

Requirements

   
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