Skip to content

Commit

Permalink
SetupDiSetDeviceRegistryPropertyW can use enum. Fixed #1809.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebattista committed Jan 22, 2024
1 parent 7fd7a38 commit 7416db0
Show file tree
Hide file tree
Showing 2 changed files with 107 additions and 0 deletions.
25 changes: 25 additions & 0 deletions generation/WinSDK/enums.json
Original file line number Diff line number Diff line change
Expand Up @@ -36965,6 +36965,31 @@
"field": "usFlags"
}
]
},
{
"name": "SETUP_DI_REGISTRY_PROPERTY",
"autoPopulate": {
"filter": "SPDRP_",
"header": "setupapi.h"
},
"uses": [
{
"method": "SetupDiGetDeviceRegistryPropertyA",
"parameter": "Property"
},
{
"method": "SetupDiGetDeviceRegistryPropertyW",
"parameter": "Property"
},
{
"method": "SetupDiSetDeviceRegistryPropertyA",
"parameter": "Property"
},
{
"method": "SetupDiSetDeviceRegistryPropertyW",
"parameter": "Property"
}
]
}
]
}
82 changes: 82 additions & 0 deletions scripts/ChangesSinceLastRelease.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,85 @@ Windows.Win32.Devices.Properties.DEVPROPTYPE.DEVPROP_TYPEMOD_LIST added
# Fixed #1816.
Windows.Win32.Devices.DeviceAndDriverInstallation.SP_ALTPLATFORM_INFO_V2.ProcessorArchitecture(X64, Arm64)...System.UInt16 => Windows.Win32.System.SystemInformation.PROCESSOR_ARCHITECTURE
Windows.Win32.Devices.DeviceAndDriverInstallation.SP_ALTPLATFORM_INFO_V2.ProcessorArchitecture(X86)...System.UInt16 => Windows.Win32.System.SystemInformation.PROCESSOR_ARCHITECTURE
# Fixed 1809.
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SetupDiGetDeviceRegistryPropertyA : Property...UInt32 => SETUP_DI_REGISTRY_PROPERTY
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SetupDiGetDeviceRegistryPropertyW : Property...UInt32 => SETUP_DI_REGISTRY_PROPERTY
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SetupDiSetDeviceRegistryPropertyA : Property...UInt32 => SETUP_DI_REGISTRY_PROPERTY
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SetupDiSetDeviceRegistryPropertyW : Property...UInt32 => SETUP_DI_REGISTRY_PROPERTY
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_ADDRESS removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_BASE_CONTAINERID removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_BUSNUMBER removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_BUSTYPEGUID removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_CAPABILITIES removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_CHARACTERISTICS removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_CLASS removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_CLASSGUID removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_COMPATIBLEIDS removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_CONFIGFLAGS removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_DEVICE_POWER_DATA removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_DEVICEDESC removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_DEVTYPE removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_DRIVER removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_ENUMERATOR_NAME removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_EXCLUSIVE removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_FRIENDLYNAME removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_HARDWAREID removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_INSTALL_STATE removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_LEGACYBUSTYPE removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_LOCATION_INFORMATION removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_LOCATION_PATHS removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_LOWERFILTERS removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_MAXIMUM_PROPERTY removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_MFG removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_PHYSICAL_DEVICE_OBJECT_NAME removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_REMOVAL_POLICY removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_REMOVAL_POLICY_HW_DEFAULT removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_REMOVAL_POLICY_OVERRIDE removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_SECURITY removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_SECURITY_SDS removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_SERVICE removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_UI_NUMBER removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_UI_NUMBER_DESC_FORMAT removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_UNUSED0 removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_UNUSED1 removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_UNUSED2 removed
Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.SPDRP_UPPERFILTERS removed
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_ADDRESS added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_BASE_CONTAINERID added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_BUSNUMBER added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_BUSTYPEGUID added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_CAPABILITIES added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_CHARACTERISTICS added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_CLASS added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_CLASSGUID added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_COMPATIBLEIDS added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_CONFIGFLAGS added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_DEVICE_POWER_DATA added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_DEVICEDESC added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_DEVTYPE added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_DRIVER added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_ENUMERATOR_NAME added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_EXCLUSIVE added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_FRIENDLYNAME added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_HARDWAREID added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_INSTALL_STATE added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_LEGACYBUSTYPE added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_LOCATION_INFORMATION added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_LOCATION_PATHS added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_LOWERFILTERS added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_MAXIMUM_PROPERTY added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_MFG added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_PHYSICAL_DEVICE_OBJECT_NAME added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_REMOVAL_POLICY added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_REMOVAL_POLICY_HW_DEFAULT added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_REMOVAL_POLICY_OVERRIDE added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_SECURITY added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_SECURITY_SDS added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_SERVICE added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_UI_NUMBER added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_UI_NUMBER_DESC_FORMAT added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_UNUSED0 added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_UNUSED1 added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_UNUSED2 added
Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_DI_REGISTRY_PROPERTY.SPDRP_UPPERFILTERS added

0 comments on commit 7416db0

Please sign in to comment.