Desktop Functions: Smart Device Functions:
|
SetupDiBuildClassInfoList (setupapi)
C# Signature:
[DllImport("setupapi.dll", CharSet = CharSet.Auto, SetLastError = true)] Parameters Flags Flags used to control exclusion of classes from the list. If no flags are specified, all setup classes are included in the list. Can be a combination of the following values: DIBCI_NOINSTALLCLASS // Exclude a class if it has the NoInstallClass value entry in its registry key. DIBCI_NODISPLAYCLASS // Exclude a class if it has the NoDisplayClass value entry in its registry key. A GUID array that receives a list of setup class GUIDs. This pointer is optional and can be NULL. The number of GUIDs in the array that is pointed to by the ClassGuildList parameter. If ClassGuidList is NULL, ClassGuidSize must be zero. A pointer to a DWORD-typed variable that receives the number of GUIDs that are returned (if the number is less than or equal to the size, in GUIDs, of the array that is pointed to by the ClassGuidList parameter). If this number is greater than the size of the ClassGuidList array, it indicates how large the ClassGuidList array must be to contain all of the class GUIDs. Return Value The function returns TRUE if it is successful. Otherwise, it returns FALSE and the logged error can be retrieved with a call to Marshal.GetLastWin32Error(). User-Defined Types:
const uint DIBCI_NOINSTALLCLASS = 0x00000001; Alternative Managed API:Do you know one? Please contribute it! Notes:None. Tips & Tricks:Please add some! Sample Code:
uint setupClassNum = 0; Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|