Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ASSOCF enum #1358

Merged
merged 1 commit into from
Nov 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions generation/WinSDK/emitter.settings.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
24 changes: 24 additions & 0 deletions generation/WinSDK/manual/Shell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
51 changes: 51 additions & 0 deletions scripts/ChangesSinceLastRelease.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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