DiBuildClassInfoList


RETERR DiBuildClassInfoList(LPLPCLASS_INFO lplpci)

This API will build a list of CLASS_INFO structs. There will be one CLASS_INFO struct added to the list for each installed class in the user's system.

lplpci

A buffer to receive a pointer to a list of CLASS_INFO structs.

This function will return OK, even if the list is empty. The call must change the content of the passed in buffer to determine if the list is empty. If the value NoUseClass is present in the class's registry branch, the class will automatically be excluded from the list. This behavior cannot be overriden.

See also DiBuildClassInfoListEx, DiDestroyClassInfoList