IIdentityProvider::FindByUniqueID 方法 (identityprovider.h)

FindByUniqueID 方法检索指向与指定标识关联的 IPropertyStore 接口实例的指针。

语法

HRESULT FindByUniqueID(
  [in]  LPCWSTR        lpszUniqueID,
  [out] IPropertyStore **ppPropertyStore
);

参数

[in] lpszUniqueID

要查找的唯一标识。

[out] ppPropertyStore

指向与指定标识关联的 IPropertyStore 接口实例的指针。

返回值

如果方法成功,则返回 S_OK

如果方法失败,则返回错误代码。 有关常见错误代码的列表,请参阅 通用 HRESULT 值

要求

要求
最低受支持的客户端 Windows 7 [仅限桌面应用]
最低受支持的服务器 Windows Server 2008 R2 [仅限桌面应用]
目标平台 Windows
标头 identityprovider.h

另请参阅

IIdentityProvider