RETERR DiBuildClassInfoListEx(LPLPCLASS_INFO lplpci, DWORD dwFlags)
This API will build a list of CLASS_INFO structs.
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.
DiBuildClassInfoList, DiDestroyClassInfoList