First pass at handling menus in wine.
This commit is contained in:
1 parent
cc6523e6fd
commit
0992ffee0d
9 files changed
+520
-18
No files matched your search
@@ -0,0 +1,21 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
#pragma once
|
||||
#include <windows.h>
|
||||
|
||||
#define WINE_ACCESS_MENU_CLASS L"CthulhuWineMenuBridge"
|
||||
#define WINE_ACCESS_MENU_MESSAGE (WM_APP + 1)
|
||||
#define WINE_ACCESS_MENU_TAG 0x57414d31
|
||||
#define WINE_ACCESS_MENU_CLOSED 1
|
||||
#define WINE_ACCESS_MENU_SUBMENU 2
|
||||
#define WINE_ACCESS_MENU_CHECKED 4
|
||||
#define WINE_ACCESS_MENU_DISABLED 8
|
||||
|
||||
typedef struct WineAccessMenuEvent {
|
||||
ULONGLONG owner;
|
||||
ULONGLONG menu;
|
||||
UINT item;
|
||||
UINT flags;
|
||||
WCHAR name[512];
|
||||
WCHAR shortcut[128];
|
||||
WCHAR title[256];
|
||||
} WineAccessMenuEvent;
|
||||
Reference in new issue
Block a user