From 69d07f95a0be0544df1395ce2a20951282c14949 Mon Sep 17 00:00:00 2001 From: elachlan <2433737+elachlan@users.noreply.github.com> Date: Wed, 2 Nov 2022 09:43:52 +1000 Subject: [PATCH 1/2] Add enum for cfFormat --- generation/WinSDK/enums.json | 7 +++- scripts/ChangesSinceLastRelease.txt | 58 +++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 1 deletion(-) diff --git a/generation/WinSDK/enums.json b/generation/WinSDK/enums.json index cbc8a0b28..bbdad32b6 100644 --- a/generation/WinSDK/enums.json +++ b/generation/WinSDK/enums.json @@ -272,7 +272,12 @@ "header": "WinUser.h" }, "members": [], - "uses": [] + "uses": [ + { + "method": "OleDuplicateData", + "parameter": "cfFormat" + } + ] }, { "name": "WNDCLASS_STYLES", diff --git a/scripts/ChangesSinceLastRelease.txt b/scripts/ChangesSinceLastRelease.txt index 6a65050aa..09810229c 100644 --- a/scripts/ChangesSinceLastRelease.txt +++ b/scripts/ChangesSinceLastRelease.txt @@ -2791,3 +2791,61 @@ Windows.Win32.Security.WinTrust.SPC_IMAGE.GifFile...Windows.Win32.Security.Crypt Windows.Win32.Security.WinTrust.SPC_IMAGE.Metafile...Windows.Win32.Security.Cryptography.CRYPTOAPI_BLOB => Windows.Win32.Security.Cryptography.CRYPT_INTEGER_BLOB Windows.Win32.Security.WinTrust.SPC_INDIRECT_DATA_CONTENT.Digest...Windows.Win32.Security.Cryptography.CRYPTOAPI_BLOB => Windows.Win32.Security.Cryptography.CRYPT_INTEGER_BLOB Windows.Win32.Security.WinTrust.SPC_SERIALIZED_OBJECT.SerializedData...Windows.Win32.Security.Cryptography.CRYPTOAPI_BLOB => Windows.Win32.Security.Cryptography.CRYPT_INTEGER_BLOB +# Added enum for cfFormat +Windows.Win32.System.Ole.Apis.OleDuplicateData : cfFormat...UInt16 => CLIPBOARD_FORMATS +Windows.Win32.System.Ole.CLIPBOARD_FORMATS added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_BITMAP added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DIB added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DIBV5 added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DIF added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DSPBITMAP added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DSPENHMETAFILE added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DSPMETAFILEPICT added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DSPTEXT added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_ENHMETAFILE added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_GDIOBJFIRST added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_GDIOBJLAST added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_HDROP added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_LOCALE added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_MAX added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_METAFILEPICT added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_OEMTEXT added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_OWNERDISPLAY added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_PALETTE added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_PENDATA added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_PRIVATEFIRST added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_PRIVATELAST added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_RIFF added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_SYLK added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_TEXT added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_TIFF added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_UNICODETEXT added +Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_WAVE added +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_BITMAP removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_DIB removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_DIBV5 removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_DIF removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_DSPBITMAP removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_DSPENHMETAFILE removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_DSPMETAFILEPICT removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_DSPTEXT removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_ENHMETAFILE removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_GDIOBJFIRST removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_GDIOBJLAST removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_HDROP removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_LOCALE removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_MAX removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_METAFILEPICT removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_OEMTEXT removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_OWNERDISPLAY removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_PALETTE removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_PENDATA removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_PRIVATEFIRST removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_PRIVATELAST removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_RIFF removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_SYLK removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_TEXT removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_TIFF removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_UNICODETEXT removed +Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_WAVE removed From bfb57bdda7e4312045b7b87acbe4d9231529dac0 Mon Sep 17 00:00:00 2001 From: elachlan <2433737+elachlan@users.noreply.github.com> Date: Wed, 2 Nov 2022 10:43:06 +1000 Subject: [PATCH 2/2] Add enum for cfFormat --- generation/WinSDK/enums.json | 3 +- scripts/ChangesSinceLastRelease.txt | 58 ++++++++++++++--------------- 2 files changed, 31 insertions(+), 30 deletions(-) diff --git a/generation/WinSDK/enums.json b/generation/WinSDK/enums.json index bbdad32b6..cda2f2e48 100644 --- a/generation/WinSDK/enums.json +++ b/generation/WinSDK/enums.json @@ -266,7 +266,8 @@ ] }, { - "name": "CLIPBOARD_FORMATS", + "name": "CLIPBOARD_FORMAT", + "type": "ushort", "autoPopulate": { "filter": "CF_", "header": "WinUser.h" diff --git a/scripts/ChangesSinceLastRelease.txt b/scripts/ChangesSinceLastRelease.txt index 09810229c..bb415e5ff 100644 --- a/scripts/ChangesSinceLastRelease.txt +++ b/scripts/ChangesSinceLastRelease.txt @@ -2792,35 +2792,6 @@ Windows.Win32.Security.WinTrust.SPC_IMAGE.Metafile...Windows.Win32.Security.Cryp Windows.Win32.Security.WinTrust.SPC_INDIRECT_DATA_CONTENT.Digest...Windows.Win32.Security.Cryptography.CRYPTOAPI_BLOB => Windows.Win32.Security.Cryptography.CRYPT_INTEGER_BLOB Windows.Win32.Security.WinTrust.SPC_SERIALIZED_OBJECT.SerializedData...Windows.Win32.Security.Cryptography.CRYPTOAPI_BLOB => Windows.Win32.Security.Cryptography.CRYPT_INTEGER_BLOB # Added enum for cfFormat -Windows.Win32.System.Ole.Apis.OleDuplicateData : cfFormat...UInt16 => CLIPBOARD_FORMATS -Windows.Win32.System.Ole.CLIPBOARD_FORMATS added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_BITMAP added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DIB added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DIBV5 added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DIF added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DSPBITMAP added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DSPENHMETAFILE added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DSPMETAFILEPICT added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DSPTEXT added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_ENHMETAFILE added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_GDIOBJFIRST added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_GDIOBJLAST added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_HDROP added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_LOCALE added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_MAX added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_METAFILEPICT added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_OEMTEXT added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_OWNERDISPLAY added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_PALETTE added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_PENDATA added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_PRIVATEFIRST added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_PRIVATELAST added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_RIFF added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_SYLK added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_TEXT added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_TIFF added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_UNICODETEXT added -Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_WAVE added Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS removed Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_BITMAP removed Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_DIB removed @@ -2849,3 +2820,32 @@ Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_TEXT removed Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_TIFF removed Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_UNICODETEXT removed Windows.Win32.System.SystemServices.CLIPBOARD_FORMATS.CF_WAVE removed +Windows.Win32.System.Ole.Apis.OleDuplicateData : cfFormat...UInt16 => CLIPBOARD_FORMAT +Windows.Win32.System.Ole.CLIPBOARD_FORMAT added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_BITMAP added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_DIB added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_DIBV5 added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_DIF added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_DSPBITMAP added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_DSPENHMETAFILE added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_DSPMETAFILEPICT added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_DSPTEXT added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_ENHMETAFILE added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_GDIOBJFIRST added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_GDIOBJLAST added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_HDROP added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_LOCALE added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_MAX added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_METAFILEPICT added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_OEMTEXT added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_OWNERDISPLAY added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_PALETTE added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_PENDATA added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_PRIVATEFIRST added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_PRIVATELAST added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_RIFF added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_SYLK added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_TEXT added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_TIFF added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_UNICODETEXT added +Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_WAVE added