Skip to content

Commit

Permalink
IExplorerCommand: Methods could return flag type instead of u32 and f…
Browse files Browse the repository at this point in the history
…lag types should be marked as flags. Fixed #2007.
  • Loading branch information
mikebattista committed Nov 7, 2024
1 parent 3352e2e commit a2fdc0a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions generation/WinSDK/emitter.settings.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ IPPROTO::IPPROTO_IP=0
IPPROTO::IPPROTO_RM=113
MENUPARTS::MENU_POPUPSUBMENU_HCHOT=21
--enumMakeFlags
_EXPCMDSTATE
_EXPCMDFLAGS
ADVISE_TYPE
AMMSF_MMS_INIT_FLAGS
AMMSF_MS_FLAGS
Expand Down Expand Up @@ -2006,3 +2008,5 @@ CreateFontW::iCharSet=[AssociatedEnum("FONT_CHARSET")]
CreateFontW::iOutPrecision=[AssociatedEnum("FONT_OUTPUT_PRECISION")]
CreateFontW::iClipPrecision=[AssociatedEnum("FONT_CLIP_PRECISION")]
CreateFontW::iQuality=[AssociatedEnum("FONT_QUALITY")]
IExplorerCommand::GetState::pCmdState=[AssociatedEnum("_EXPCMDSTATE")]
IExplorerCommand::GetFlags::pFlags=[AssociatedEnum("_EXPCMDFLAGS")]
5 changes: 5 additions & 0 deletions scripts/ChangesSinceLastRelease.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2750,3 +2750,8 @@ Windows.Win32.Graphics.Gdi.Apis.CreateFontW : iCharSet : [In] => [AssociatedEnum
Windows.Win32.Graphics.Gdi.Apis.CreateFontW : iClipPrecision : [In] => [AssociatedEnum(FONT_CLIP_PRECISION),In]
Windows.Win32.Graphics.Gdi.Apis.CreateFontW : iOutPrecision : [In] => [AssociatedEnum(FONT_OUTPUT_PRECISION),In]
Windows.Win32.Graphics.Gdi.Apis.CreateFontW : iQuality : [In] => [AssociatedEnum(FONT_QUALITY),In]
# IExplorerCommand: Methods could return flag type instead of u32 and flag types should be marked as flags #2007.
Windows.Win32.UI.Shell._EXPCMDFLAGS : => [Flags]
Windows.Win32.UI.Shell._EXPCMDSTATE : [Documentation(https://learn.microsoft.com/windows/win32/api/shobjidl_core/ne-shobjidl_core-_expcmdstate)] => [Documentation(https://learn.microsoft.com/windows/win32/api/shobjidl_core/ne-shobjidl_core-_expcmdstate),Flags]
Windows.Win32.UI.Shell.IExplorerCommand.GetFlags : pFlags : [Out] => [AssociatedEnum(_EXPCMDFLAGS),Out]
Windows.Win32.UI.Shell.IExplorerCommand.GetState : pCmdState : [Out] => [AssociatedEnum(_EXPCMDSTATE),Out]

0 comments on commit a2fdc0a

Please sign in to comment.