IMFSensorProfileCollection::RemoveProfile method (mfidl.h)

removes the specified profile based on the specified profile ID.

Syntax

void RemoveProfile(
  [in] SENSORPROFILEID *ProfileId
);

Parameters

[in] ProfileId

Pointer to the SENSORPROFILEID of the profile to remove.

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