IMFSensorProfileCollection::GetProfile 方法 (mfidl.h)

检索指定的配置文件。

语法

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

parameters

[in] Index

要检索的配置文件的索引。

[out] ppProfile

成功后,返回一个双指针,指向描述指定传感器配置文件的 IMFSensorProfile 对象。

返回值

如果该方法成功,则返回 S_OK。 否则,将返回 HRESULT 错误代码。

要求

   
最低受支持的客户端 Windows 10版本 1803 [仅限桌面应用]
最低受支持的服务器 Windows Server [仅限桌面应用]
目标平台 Windows
标头 mfidl.h
Library Mfsensorgroup.lib
DLL Mfsensorgroup.dll

另请参阅

IMFSensorProfileCollection