共用方式為


IsKeyPresentInCollectionList 函式 (sensorsutils.h)

這個例程會判斷索引鍵是否存在於集合清單中。

語法

BOOLEAN IsKeyPresentInCollectionList(
  [in] PSENSOR_COLLECTION_LIST pList,
  [in] const PROPERTYKEY       *pKey
);

參數

[in] pList

集合清單的指標。

[in] pKey

PROPERTYKEY 的指標。

傳回值

如果索引鍵存在,此函式會傳回 TRUE。

規格需求

需求
標頭 sensorsutils.h