DiBuildClassInfoListEx

RETERR DiBuildClassInfoListEx(LPLPCLASS_INFO lplpci, DWORD dwFlags)
 

This API will build a list of CLASS_INFO structs.

lplpci
A buffer to receive a pointer to a list of CLASS_INFO structs.
dwFlags
Flags used to control exclusion of classes from the list. The following flags are defined:
DIBCI_NOINSTALLCLASS Exclude a class if it has the value NoInstallClass present in its registry branch.
DIBCI_NODISPLAYCLASS Exclude a class if it has the value NoDisplayClass present in its registry branch.

This API is similiar to DiBuildClassInfoList, except it allows more control over what classes will be included in the list.

See Also

DiBuildClassInfoList, DiDestroyClassInfoList