https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d46edf494dcdc51bd3f23…
commit d46edf494dcdc51bd3f237d85458e7e8f060927f
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Jul 15 19:59:38 2019 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Jul 15 19:59:38 2019 +0900
[SDK][INCLUDE] Add MENUGETOBJECTINFO structure (#1727)
- Add MENUGETOBJECTINFO structure to <winuser.h> header.
- Add MNGOF_TOPGAP and MNGOF_BOTTOMGAP constant macros.
---
sdk/include/psdk/winuser.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/sdk/include/psdk/winuser.h b/sdk/include/psdk/winuser.h
index f9ff766a2a5..3f14ab7eb20 100644
--- a/sdk/include/psdk/winuser.h
+++ b/sdk/include/psdk/winuser.h
@@ -3180,6 +3180,17 @@ typedef struct _WNDCLASSEXW {
HICON hIconSm;
} WNDCLASSEXW,*LPWNDCLASSEXW,*PWNDCLASSEXW;
+#define MNGOF_TOPGAP 0x00000001
+#define MNGOF_BOTTOMGAP 0x00000002
+
+typedef struct tagMENUGETOBJECTINFO {
+ DWORD dwFlags;
+ UINT uPos;
+ HMENU hmenu;
+ PVOID riid;
+ PVOID pvObj;
+} MENUGETOBJECTINFO,*PMENUGETOBJECTINFO;
+
typedef struct tagMENUITEMINFOA {
UINT cbSize;
UINT fMask;