From 570d0299d964482734b8c40324ced0b049399d55 Mon Sep 17 00:00:00 2001 From: Mike Battista <13860912+mikebattista@users.noreply.github.com> Date: Thu, 13 Jul 2023 10:05:29 -0700 Subject: [PATCH] newdev missing enums. Fixed #1617. --- generation/WinSDK/enums.json | 78 +++++++++++++++++++++++++++++ scripts/ChangesSinceLastRelease.txt | 46 +++++++++++++++++ 2 files changed, 124 insertions(+) diff --git a/generation/WinSDK/enums.json b/generation/WinSDK/enums.json index ed1655287..a6a5b9394 100644 --- a/generation/WinSDK/enums.json +++ b/generation/WinSDK/enums.json @@ -35416,6 +35416,84 @@ "field": "dwCertChoice" } ] + }, + { + "name": "DIINSTALLDEVICE_FLAGS", + "autoPopulate": { + "header": "newdev.h", + "filter": "DIIDFLAG_" + }, + "members": [], + "uses": [ + { + "method": "DiInstallDevice", + "parameter": "Flags" + } + ] + }, + { + "name": "DIINSTALLDRIVER_FLAGS", + "autoPopulate": { + "header": "newdev.h", + "filter": "DIIRFLAG_" + }, + "members": [ + { + "name": "DIIRFLAG_BITS", + "value": "(DIIRFLAG_FORCE_INF | DIIRFLAG_HOTPATCH | DIIRFLAG_PRE_CONFIGURE_INF | DIIRFLAG_INSTALL_AS_SET)" + }, + { + "name": "DIIRFLAG_SYSTEM_BITS", + "value": "(DIIRFLAG_INF_ALREADY_COPIED | DIIRFLAG_FORCE_INF | DIIRFLAG_HW_USING_THE_INF | DIIRFLAG_HOTPATCH | DIIRFLAG_NOBACKUP | DIIRFLAG_PRE_CONFIGURE_INF | DIIRFLAG_INSTALL_AS_SET)" + } + ], + "uses": [ + { + "method": "DiInstallDriverA", + "parameter": "Flags" + }, + { + "method": "DiInstallDriverW", + "parameter": "Flags" + } + ] + }, + { + "name": "DIUNINSTALLDRIVER_FLAGS", + "autoPopulate": { + "header": "newdev.h", + "filter": "DIURFLAG_" + }, + "members": [ + { + "name": "DIURFLAG_VALID", + "value": "(DIURFLAG_NO_REMOVE_INF | DIURFLAG_RESERVED)" + } + ], + "uses": [ + { + "method": "DiUninstallDriverA", + "parameter": "Flags" + }, + { + "method": "DiUninstallDriverW", + "parameter": "Flags" + } + ] + }, + { + "name": "DIROLLBACKDRIVER_FLAGS", + "autoPopulate": { + "header": "newdev.h", + "filter": "ROLLBACK_" + }, + "members": [], + "uses": [ + { + "method": "DiRollbackDriver", + "parameter": "Flags" + } + ] } ] } diff --git a/scripts/ChangesSinceLastRelease.txt b/scripts/ChangesSinceLastRelease.txt index 394ae94d6..748d35b75 100644 --- a/scripts/ChangesSinceLastRelease.txt +++ b/scripts/ChangesSinceLastRelease.txt @@ -775,3 +775,49 @@ Windows.Win32.System.Restore.Apis.SRRemoveRestorePoint added Windows.Win32.System.Restore.STATEMGRSTATUS.nStatus...System.UInt32 => Windows.Win32.Foundation.WIN32_ERROR # Fixed #1612. Windows.Win32.UI.Controls.Apis.ImageList_GetIcon : flags...UInt32 => IMAGE_LIST_DRAW_STYLE +# Fixed #1617. +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DIIDFLAG_BITS removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DIIDFLAG_INSTALLCOPYINFDRIVERS removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DIIDFLAG_INSTALLNULLDRIVER removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DIIDFLAG_NOFINISHINSTALLUI removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DIIDFLAG_SHOWSEARCHUI removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DiInstallDevice : Flags...UInt32 => DIINSTALLDEVICE_FLAGS +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DiInstallDriverA : Flags...UInt32 => DIINSTALLDRIVER_FLAGS +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DiInstallDriverW : Flags...UInt32 => DIINSTALLDRIVER_FLAGS +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DIIRFLAG_FORCE_INF removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DIIRFLAG_HOTPATCH removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DIIRFLAG_HW_USING_THE_INF removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DIIRFLAG_INF_ALREADY_COPIED removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DIIRFLAG_INSTALL_AS_SET removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DIIRFLAG_NOBACKUP removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DIIRFLAG_PRE_CONFIGURE_INF removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DiRollbackDriver : Flags...UInt32 => DIROLLBACKDRIVER_FLAGS +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DiUninstallDriverA : Flags...UInt32 => DIUNINSTALLDRIVER_FLAGS +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DiUninstallDriverW : Flags...UInt32 => DIUNINSTALLDRIVER_FLAGS +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DIURFLAG_NO_REMOVE_INF removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.DIURFLAG_RESERVED removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.ROLLBACK_BITS removed +Windows.Win32.Devices.DeviceAndDriverInstallation.Apis.ROLLBACK_FLAG_NO_UI removed +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDEVICE_FLAGS added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDEVICE_FLAGS.DIIDFLAG_BITS added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDEVICE_FLAGS.DIIDFLAG_INSTALLCOPYINFDRIVERS added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDEVICE_FLAGS.DIIDFLAG_INSTALLNULLDRIVER added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDEVICE_FLAGS.DIIDFLAG_NOFINISHINSTALLUI added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDEVICE_FLAGS.DIIDFLAG_SHOWSEARCHUI added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDRIVER_FLAGS added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDRIVER_FLAGS.DIIRFLAG_BITS added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDRIVER_FLAGS.DIIRFLAG_FORCE_INF added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDRIVER_FLAGS.DIIRFLAG_HOTPATCH added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDRIVER_FLAGS.DIIRFLAG_HW_USING_THE_INF added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDRIVER_FLAGS.DIIRFLAG_INF_ALREADY_COPIED added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDRIVER_FLAGS.DIIRFLAG_INSTALL_AS_SET added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDRIVER_FLAGS.DIIRFLAG_NOBACKUP added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDRIVER_FLAGS.DIIRFLAG_PRE_CONFIGURE_INF added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIINSTALLDRIVER_FLAGS.DIIRFLAG_SYSTEM_BITS added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIROLLBACKDRIVER_FLAGS added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIROLLBACKDRIVER_FLAGS.ROLLBACK_BITS added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIROLLBACKDRIVER_FLAGS.ROLLBACK_FLAG_NO_UI added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIUNINSTALLDRIVER_FLAGS added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIUNINSTALLDRIVER_FLAGS.DIURFLAG_NO_REMOVE_INF added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIUNINSTALLDRIVER_FLAGS.DIURFLAG_RESERVED added +Windows.Win32.Devices.DeviceAndDriverInstallation.DIUNINSTALLDRIVER_FLAGS.DIURFLAG_VALID added