// wiautil.h
BOOL wiauPropInPropSpec(
LONG NumPropSpecs,
const PROPSPEC *pPropSpecs,
PROPID PropId,
int *pIdx
);
View the official Windows Driver Kit DDI referenceNo description available.
The wiauPropInPropSpec function determines whether a specified property specification ID is contained in an array of such values. The function optionally gets the index at which the property specification ID was found.
NumPropSpecsSpecifies the number of property specification IDs in the array pointed to by pPropSpecs.
pPropSpecsPoints to the first element of the property specification ID array.
PropIdSpecifies the property specification ID to search for in the array pointed to by pPropSpecs.
pIdxOptional. Pointer to a memory location that receives the index of the property specification ID in the property specification ID array. The default value of this parameter is NULL, in which case the function does not use it.
This function returns TRUE if it found the property specification ID in the property specification ID array. Otherwise it returns FALSE.
The wiauPropInPropSpec function finds a single property specification ID within an array of property specification IDs. A related function, wiauPropsInPropSpec can be used to determine whether any of a specified list of property specification IDs is found in another array of property specification IDs.