Documentation ¶
Index ¶
Constants ¶
View Source
const ( QueryValue = 0x00000001 // KEY_QUERY_VALUE SetValue = 0x00000002 // KEY_SET_VALUE CreateSubKey = 0x00000004 // KEY_CREATE_SUB_KEY EnumerateSubKeys = 0x00000008 // KEY_ENUMERATE_SUB_KEYS Notify = 0x00000010 // KEY_NOTIFY CreateLink = 0x00000020 // KEY_CREATE_LINK Win32 = 0x00000200 // KEY_WOW64_32KEY Win64 = 0x00000100 // KEY_WOW64_64KEY Wrote = 0x00020006 // KEY_WRITE Execute = 0x00020019 // KEY_EXECUTE Read = 0x00020019 // KEY_READ AllAccess = 0x000F003F // KEY_ALL_ACCESS )
Windows device registry key access masks.
https://docs.microsoft.com/en-us/windows/desktop/api/setupapi/nf-setupapi-setupdiopendevregkey
View Source
const ( Description = 0 // SPDRP_DEVICEDESC HardwareID = 1 // SPDRP_HARDWAREID CompatibleID = 2 // SPDRP_COMPATIBLEIDS Service = 4 // SPDRP_SERVICE Class = 7 // SPDRP_CLASS ClassGUID = 8 // SPDRP_CLASSGUID DriverRegName = 9 // SPDRP_DRIVER ConfigFlags = 10 // SPDRP_CONFIGFLAGS Manufacturer = 11 // SPDRP_MFG FriendlyName = 12 // SPDRP_FRIENDLYNAME LocationInformation = 13 // SPDRP_LOCATION_INFORMATION PhysicalDeviceObjectName = 14 // SPDRP_PHYSICAL_DEVICE_OBJECT_NAME Capabilities = 15 // SPDRP_CAPABILITIES UINumber = 16 // SPDRP_UI_NUMBER UpperFilters = 17 // SPDRP_UPPERFILTERS LowerFilters = 18 // SPDRP_LOWERFILTERS BusTypeGUID = 19 // SPDRP_BUSTYPEGUID LegacyBusType = 20 // SPDRP_LEGACYBUSTYPE BusNumber = 21 // SPDRP_BUSNUMBER EnumeratorName = 22 // SPDRP_ENUMERATOR_NAME Security = 23 // SPDRP_SECURITY SecuritySDS = 24 // SPDRP_SECURITY_SDS DevType = 25 // SPDRP_DEVTYPE Exclusive = 26 // SPDRP_EXCLUSIVE Characteristics = 27 // SPDRP_CHARACTERISTICS Address = 28 // SPDRP_ADDRESS UINumberDescFormat = 29 // SPDRP_UI_NUMBER_DESC_FORMAT DevicePowerData = 30 // SPDRP_DEVICE_POWER_DATA RemovalPolicy = 31 // SPDRP_REMOVAL_POLICY RemovalPolicyHWDefault = 32 // SPDRP_REMOVAL_POLICY_HW_DEFAULT RemovalPolicyOverride = 33 // SPDRP_REMOVAL_POLICY_OVERRIDE InstallState = 34 // SPDRP_INSTALL_STATE LocationPaths = 35 // SPDRP_LOCATION_PATHS )
Windows device registry property codes.
View Source
const ( Device = 0x00000001 // DIREG_DEV Driver = 0x00000002 // DIREG_DRV Both = 0x00000004 // DIREG_BOTH )
Windows device registry key types.
https://docs.microsoft.com/en-us/windows/desktop/api/setupapi/nf-setupapi-setupdiopendevregkey
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.