Desktop Functions: Smart Device Functions:
|
Search Results for "SPDRP" in [All]setupapi
SetupDiGetDeviceRegistryProperty(NewDeviceInfoSet, DeviceInfoData, DirectCast(SPDRP_FRIENDLYNAME, Integer), propRegDataType, sbDesc, MAX_LEN, reqSize)
SetupDiGetDeviceRegistryProperty(NewDeviceInfoSet, DeviceInfoData, DirectCast(SPDRP_DEVICEDESC, Integer), propRegDataType, sbDesc, MAX_LEN, reqSize)
SetupDiGetDeviceRegistryProperty(NewDeviceInfoSet, DeviceInfoData, DirectCast(SPDRP_HARDWAREID, Integer), propRegDataType, sbHWID, MAX_LEN, reqSize)
if (SetupDiGetDeviceRegistryProperty(h, ref da, SPDRP_DRIVER, ref RegType, ptrBuf, BUFFER_SIZE, ref RequiredSize))
if (SetupDiGetDeviceRegistryProperty(h, ref da, SPDRP_DEVICEDESC, ref RegType, ptrBuf, BUFFER_SIZE, ref RequiredSize))
if (SetupDiGetDeviceRegistryProperty(h, ref da, SPDRP_DRIVER, ref RegType, ptrBuf, BUFFER_SIZE, ref RequiredSize))
registryPropertyResult = SetupDiGetDeviceRegistryProperty(h, da, DeviceRegistryValueNames.SPDRP_DEVICEDESC, RegType, ptrButter, 0, RequiredSize)
registryPropertyResult = SetupDiGetDeviceRegistryProperty(h, da, DeviceRegistryValueNames.SPDRP_DEVICEDESC, RegType, ptrButter, RequiredSize, RequiredSize)
registryPropertyResult = SetupDiGetDeviceRegistryProperty(h, da, DeviceRegistryValueNames.SPDRP_DRIVER, RegType, ptrButter, RequiredSize, RequiredSize)
registryPropertyResult = SetupDiGetDeviceRegistryProperty(h, da, DeviceRegistryValueNames.SPDRP_DRIVER, RegType, ptrButter, RequiredSize, RequiredSize)
SPDRP_DEVICEDESC = 0x00000000, // DeviceDesc (R/W)
SPDRP_HARDWAREID = 0x00000001, // HardwareID (R/W)
SPDRP_COMPATIBLEIDS = 0x00000002, // CompatibleIDs (R/W)
SPDRP_UNUSED0 = 0x00000003, // unused
SPDRP_SERVICE = 0x00000004, // Service (R/W)
SPDRP_UNUSED1 = 0x00000005, // unused
SPDRP_UNUSED2 = 0x00000006, // unused
SPDRP_CLASS = 0x00000007, // Class (R--tied to ClassGUID)
SPDRP_CLASSGUID = 0x00000008, // ClassGUID (R/W)
SPDRP_DRIVER = 0x00000009, // Driver (R/W)
SPDRP_CONFIGFLAGS = 0x0000000A, // ConfigFlags (R/W)
SPDRP_MFG = 0x0000000B, // Mfg (R/W)
SPDRP_FRIENDLYNAME = 0x0000000C, // FriendlyName (R/W)
SPDRP_LOCATION_INFORMATION = 0x0000000D, // LocationInformation (R/W)
SPDRP_PHYSICAL_DEVICE_OBJECT_NAME = 0x0000000E, // PhysicalDeviceObjectName (R)
SPDRP_CAPABILITIES = 0x0000000F, // Capabilities (R)
SPDRP_UI_NUMBER = 0x00000010, // UiNumber (R)
SPDRP_UPPERFILTERS = 0x00000011, // UpperFilters (R/W)
SPDRP_LOWERFILTERS = 0x00000012, // LowerFilters (R/W)
SPDRP_BUSTYPEGUID = 0x00000013, // BusTypeGUID (R)
SPDRP_LEGACYBUSTYPE = 0x00000014, // LegacyBusType (R)
SPDRP_BUSNUMBER = 0x00000015, // BusNumber (R)
SPDRP_ENUMERATOR_NAME = 0x00000016, // Enumerator Name (R)
SPDRP_SECURITY = 0x00000017, // Security (R/W, binary form)
SPDRP_SECURITY_SDS = 0x00000018, // Security (W, SDS form)
SPDRP_DEVTYPE = 0x00000019, // Device Type (R/W)
SPDRP_EXCLUSIVE = 0x0000001A, // Device is exclusive-access (R/W)
SPDRP_CHARACTERISTICS = 0x0000001B, // Device Characteristics (R/W)
SPDRP_ADDRESS = 0x0000001C, // Device Address (R)
SPDRP_UI_NUMBER_DESC_FORMAT = 0X0000001D, // UiNumberDescFormat (R/W)
SPDRP_DEVICE_POWER_DATA = 0x0000001E, // Device Power Data (R)
SPDRP_REMOVAL_POLICY = 0x0000001F, // Removal Policy (R)
SPDRP_REMOVAL_POLICY_HW_DEFAULT = 0x00000020, // Hardware Removal Policy (R)
SPDRP_REMOVAL_POLICY_OVERRIDE = 0x00000021, // Removal Policy Override (RW)
SPDRP_INSTALL_STATE = 0x00000022, // Device Install State (R)
SPDRP_LOCATION_PATHS = 0x00000023, // Device Location Paths (R)
SPDRP_BASE_CONTAINERID = 0x00000024 // Base ContainerID (R)
if (SetupDiGetDeviceRegistryProperty(h, ref da, SPDRP_DEVICEDESC, out RegType, ptrBuf, BUFFER_SIZE, out RequiredSize))
if (SetupDiGetDeviceRegistryProperty(h, ref da, SPDRP_DRIVER, out RegType, ptrBuf, BUFFER_SIZE, out RequiredSize))
if ( SetupDiGetDeviceRegistryProperty(h, ref da, SPDRP_DEVICEDESC, out regType, ptrBuffer, BUFFER_SIZE, out RequiredSize) )
if ( SetupDiGetDeviceRegistryProperty(h, ref da, SPDRP_DRIVER, out regType, ptrBuffer, BUFFER_SIZE, out RequiredSize) ) Enums6: SPDRP
public enum SPDRP : int
SPDRP_DEVICEDESC = 0x00000000,
SPDRP_HARDWAREID = 0x00000001,
SPDRP_COMPATIBLEIDS = 0x00000002,
SPDRP_UNUSED0 = 0x00000003,
SPDRP_SERVICE = 0x00000004,
SPDRP_UNUSED1 = 0x00000005,
SPDRP_UNUSED2 = 0x00000006,
SPDRP_CLASS = 0x00000007,
SPDRP_CLASSGUID = 0x00000008,
SPDRP_DRIVER = 0x00000009,
SPDRP_CONFIGFLAGS = 0x0000000A,
SPDRP_MFG = 0x0000000B,
SPDRP_FRIENDLYNAME = 0x0000000C,
SPDRP_LOCATION_INFORMATION = 0x0000000D,
SPDRP_PHYSICAL_DEVICE_OBJECT_NAME = 0x0000000E,
SPDRP_CAPABILITIES = 0x0000000F,
SPDRP_UI_NUMBER = 0x00000010,
SPDRP_UPPERFILTERS = 0x00000011,
SPDRP_LOWERFILTERS = 0x00000012,
SPDRP_BUSTYPEGUID = 0x00000013,
SPDRP_LEGACYBUSTYPE = 0x00000014,
SPDRP_BUSNUMBER = 0x00000015,
SPDRP_ENUMERATOR_NAME = 0x00000016,
SPDRP_SECURITY = 0x00000017,
SPDRP_SECURITY_SDS = 0x00000018,
SPDRP_DEVTYPE = 0x00000019,
SPDRP_EXCLUSIVE = 0x0000001A,
SPDRP_CHARACTERISTICS = 0x0000001B,
SPDRP_ADDRESS = 0x0000001C,
SPDRP_UI_NUMBER_DESC_FORMAT = 0X0000001D,
SPDRP_DEVICE_POWER_DATA = 0x0000001E,
SPDRP_REMOVAL_POLICY = 0x0000001F,
SPDRP_REMOVAL_POLICY_HW_DEFAULT = 0x00000020,
SPDRP_REMOVAL_POLICY_OVERRIDE = 0x00000021,
SPDRP_INSTALL_STATE = 0x00000022,
SPDRP_LOCATION_PATHS = 0x00000023,
Enum SPDRP 7: SPDRP public enum SPDRP
SPDRP_DEVICEDESC = 0,
SPDRP_HARDWAREID = 0x1,
SPDRP_COMPATIBLEIDS = 0x2,
SPDRP_UNUSED0 = 0x3,
SPDRP_SERVICE = 0x4,
SPDRP_UNUSED1 = 0x5,
SPDRP_UNUSED2 = 0x6,
SPDRP_CLASS = 0x7,
SPDRP_CLASSGUID = 0x8,
SPDRP_DRIVER = 0x9,
SPDRP_CONFIGFLAGS = 0xa,
SPDRP_MFG = 0xb,
SPDRP_FRIENDLYNAME = 0xc,
SPDRP_LOCATION_INFORMATION = 0xd,
SPDRP_PHYSICAL_DEVICE_OBJECT_NAME = 0xe,
SPDRP_CAPABILITIES = 0xf,
SPDRP_UI_NUMBER = 0x10,
SPDRP_UPPERFILTERS = 0x11,
SPDRP_LOWERFILTERS = 0x12,
SPDRP_BUSTYPEGUID = 0x13,
SPDRP_LEGACYBUSTYPE = 0x14,
SPDRP_BUSNUMBER = 0x15,
SPDRP_ENUMERATOR_NAME = 0x16,
SPDRP_SECURITY = 0x17,
SPDRP_SECURITY_SDS = 0x18,
SPDRP_DEVTYPE = 0x19,
SPDRP_EXCLUSIVE = 0x1a,
SPDRP_CHARACTERISTICS = 0x1b,
SPDRP_ADDRESS = 0x1c,
SPDRP_UI_NUMBER_DESC_FORMAT = 0x1e,
SPDRP_MAXIMUM_PROPERTY = 0x1f
Public Enum SPDRP
SPDRP_DEVICEDESC = 0
SPDRP_HARDWAREID = &H1
SPDRP_COMPATIBLEIDS = &H2
SPDRP_UNUSED0 = &H3
SPDRP_SERVICE = &H4
SPDRP_UNUSED1 = &H5
SPDRP_UNUSED2 = &H6
SPDRP_CLASS = &H7
SPDRP_CLASSGUID = &H8
SPDRP_DRIVER = &H9
SPDRP_CONFIGFLAGS = &HA
SPDRP_MFG = &HB
SPDRP_FRIENDLYNAME = &HC
SPDRP_LOCATION_INFORMATION = &HD
SPDRP_PHYSICAL_DEVICE_OBJECT_NAME = &HE
SPDRP_CAPABILITIES = &HF
SPDRP_UI_NUMBER = &H10
SPDRP_UPPERFILTERS = &H11
SPDRP_LOWERFILTERS = &H12
SPDRP_BUSTYPEGUID = &H13
SPDRP_LEGACYBUSTYPE = &H14
SPDRP_BUSNUMBER = &H15
SPDRP_ENUMERATOR_NAME = &H16
SPDRP_SECURITY = &H17
SPDRP_SECURITY_SDS = &H18
SPDRP_DEVTYPE = &H19
SPDRP_EXCLUSIVE = &H1A
SPDRP_CHARACTERISTICS = &H1B
SPDRP_ADDRESS = &H1C
SPDRP_UI_NUMBER_DESC_FORMAT = &H1E
SPDRP_MAXIMUM_PROPERTY = &H1F Here is a C# and VB.net version for SPDRP, notice to use this enum in C# you have to import "using Microsoft.VisualBasic" Constants8: PROPERTYKEY
// These PKEYs correspond to the old setupapi SPDRP_XXX properties |