From 8e575b2e206449b1bd87000095e1d99150f602d2 Mon Sep 17 00:00:00 2001 From: Tatsuro Shibamura Date: Sun, 6 Nov 2022 19:09:50 +0900 Subject: [PATCH] Added ASSOCF enum --- generation/WinSDK/emitter.settings.rsp | 12 ++++++ generation/WinSDK/manual/Shell.cs | 24 ++++++++++++ scripts/ChangesSinceLastRelease.txt | 51 ++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) diff --git a/generation/WinSDK/emitter.settings.rsp b/generation/WinSDK/emitter.settings.rsp index d65d9bb3e..a44bbb244 100644 --- a/generation/WinSDK/emitter.settings.rsp +++ b/generation/WinSDK/emitter.settings.rsp @@ -1149,6 +1149,18 @@ MXDC_S0PAGE_RESOURCE_ESCAPE_T=[StructLayout(LayoutKind.Sequential, Pack = 1)] MPEG_TIME=[StructLayout(LayoutKind.Sequential, Pack = 1)] SECTION=[StructLayout(LayoutKind.Sequential, Pack = 1)] MPEG_DATE_AND_TIME=[StructLayout(LayoutKind.Sequential, Pack = 1)] +# shlwapi.h +IQueryAssociations::Init::flags=ASSOCF +IQueryAssociations::GetString::flags=ASSOCF +IQueryAssociations::GetKey::flags=ASSOCF +IQueryAssociations::GetData::flags=ASSOCF +IQueryAssociations::GetEnum::flags=ASSOCF +AssocQueryStringA::flags=ASSOCF +AssocQueryStringW::flags=ASSOCF +AssocQueryStringByKeyA::flags=ASSOCF +AssocQueryStringByKeyW::flags=ASSOCF +AssocQueryKeyA::flags=ASSOCF +AssocQueryKeyW::flags=ASSOCF # snmp.h AsnAny=[StructLayout(LayoutKind.Sequential, Pack = 4)] SnmpVarBind=[StructLayout(LayoutKind.Sequential, Pack = 4)] diff --git a/generation/WinSDK/manual/Shell.cs b/generation/WinSDK/manual/Shell.cs index a6a2902db..8c13be5b1 100644 --- a/generation/WinSDK/manual/Shell.cs +++ b/generation/WinSDK/manual/Shell.cs @@ -378,4 +378,28 @@ public enum SSF_MASK : uint SSF_SHOWTYPEOVERLAY = 0x02000000, SSF_SHOWSTATUSBAR = 0x04000000, } + + [Flags] + public enum ASSOCF : uint + { + ASSOCF_NONE = 0x00000000, + ASSOCF_INIT_NOREMAPCLSID = 0x00000001, + ASSOCF_INIT_BYEXENAME = 0x00000002, + ASSOCF_OPEN_BYEXENAME = 0x00000002, + ASSOCF_INIT_DEFAULTTOSTAR = 0x00000004, + ASSOCF_INIT_DEFAULTTOFOLDER = 0x00000008, + ASSOCF_NOUSERSETTINGS = 0x00000010, + ASSOCF_NOTRUNCATE = 0x00000020, + ASSOCF_VERIFY = 0x00000040, + ASSOCF_REMAPRUNDLL = 0x00000080, + ASSOCF_NOFIXUPS = 0x00000100, + ASSOCF_IGNOREBASECLASS = 0x00000200, + ASSOCF_INIT_IGNOREUNKNOWN = 0x00000400, + ASSOCF_INIT_FIXED_PROGID = 0x00000800, + ASSOCF_IS_PROTOCOL = 0x00001000, + ASSOCF_INIT_FOR_FILE = 0x00002000, + ASSOCF_IS_FULL_URI = 0x00004000, + ASSOCF_PER_MACHINE_ONLY = 0x00008000, + ASSOCF_APP_TO_APP = 0x00010000, + } } diff --git a/scripts/ChangesSinceLastRelease.txt b/scripts/ChangesSinceLastRelease.txt index 04b4adec3..67d930fbd 100644 --- a/scripts/ChangesSinceLastRelease.txt +++ b/scripts/ChangesSinceLastRelease.txt @@ -145,3 +145,54 @@ Windows.Win32.System.Ole.OLEIVERB.OLEIVERB_PRIMARY added Windows.Win32.System.Ole.OLEIVERB.OLEIVERB_SHOW added Windows.Win32.System.Ole.OLEIVERB.OLEIVERB_UIACTIVATE added Windows.Win32.System.Ole.OLEVERB.lVerb...System.Int32 => Windows.Win32.System.Ole.OLEIVERB +# Fixed #775. +Windows.Win32.UI.Shell.Apis.ASSOCF_APP_TO_APP removed +Windows.Win32.UI.Shell.Apis.ASSOCF_IGNOREBASECLASS removed +Windows.Win32.UI.Shell.Apis.ASSOCF_INIT_BYEXENAME removed +Windows.Win32.UI.Shell.Apis.ASSOCF_INIT_DEFAULTTOFOLDER removed +Windows.Win32.UI.Shell.Apis.ASSOCF_INIT_DEFAULTTOSTAR removed +Windows.Win32.UI.Shell.Apis.ASSOCF_INIT_FIXED_PROGID removed +Windows.Win32.UI.Shell.Apis.ASSOCF_INIT_FOR_FILE removed +Windows.Win32.UI.Shell.Apis.ASSOCF_INIT_IGNOREUNKNOWN removed +Windows.Win32.UI.Shell.Apis.ASSOCF_INIT_NOREMAPCLSID removed +Windows.Win32.UI.Shell.Apis.ASSOCF_IS_FULL_URI removed +Windows.Win32.UI.Shell.Apis.ASSOCF_IS_PROTOCOL removed +Windows.Win32.UI.Shell.Apis.ASSOCF_NOFIXUPS removed +Windows.Win32.UI.Shell.Apis.ASSOCF_NONE removed +Windows.Win32.UI.Shell.Apis.ASSOCF_NOTRUNCATE removed +Windows.Win32.UI.Shell.Apis.ASSOCF_NOUSERSETTINGS removed +Windows.Win32.UI.Shell.Apis.ASSOCF_OPEN_BYEXENAME removed +Windows.Win32.UI.Shell.Apis.ASSOCF_PER_MACHINE_ONLY removed +Windows.Win32.UI.Shell.Apis.ASSOCF_REMAPRUNDLL removed +Windows.Win32.UI.Shell.Apis.ASSOCF_VERIFY removed +Windows.Win32.UI.Shell.Apis.AssocQueryKeyA : flags...UInt32 => ASSOCF +Windows.Win32.UI.Shell.Apis.AssocQueryKeyW : flags...UInt32 => ASSOCF +Windows.Win32.UI.Shell.Apis.AssocQueryStringA : flags...UInt32 => ASSOCF +Windows.Win32.UI.Shell.Apis.AssocQueryStringByKeyA : flags...UInt32 => ASSOCF +Windows.Win32.UI.Shell.Apis.AssocQueryStringByKeyW : flags...UInt32 => ASSOCF +Windows.Win32.UI.Shell.Apis.AssocQueryStringW : flags...UInt32 => ASSOCF +Windows.Win32.UI.Shell.ASSOCF added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_APP_TO_APP added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_IGNOREBASECLASS added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_INIT_BYEXENAME added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_INIT_DEFAULTTOFOLDER added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_INIT_DEFAULTTOSTAR added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_INIT_FIXED_PROGID added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_INIT_FOR_FILE added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_INIT_IGNOREUNKNOWN added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_INIT_NOREMAPCLSID added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_IS_FULL_URI added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_IS_PROTOCOL added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_NOFIXUPS added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_NONE added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_NOTRUNCATE added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_NOUSERSETTINGS added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_OPEN_BYEXENAME added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_PER_MACHINE_ONLY added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_REMAPRUNDLL added +Windows.Win32.UI.Shell.ASSOCF.ASSOCF_VERIFY added +Windows.Win32.UI.Shell.IQueryAssociations.GetData : flags...UInt32 => ASSOCF +Windows.Win32.UI.Shell.IQueryAssociations.GetEnum : flags...UInt32 => ASSOCF +Windows.Win32.UI.Shell.IQueryAssociations.GetKey : flags...UInt32 => ASSOCF +Windows.Win32.UI.Shell.IQueryAssociations.GetString : flags...UInt32 => ASSOCF +Windows.Win32.UI.Shell.IQueryAssociations.Init : flags...UInt32 => ASSOCF