aboutsummaryrefslogtreecommitdiff
path: root/Src/nu/menushortcuts.h
diff options
context:
space:
mode:
authorJean-Francois Mauguit <jfmauguit@mac.com>2024-09-24 09:03:25 -0400
committerGitHub <noreply@github.com>2024-09-24 09:03:25 -0400
commitbab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/nu/menushortcuts.h
parent4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff)
parent20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff)
downloadwinamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/nu/menushortcuts.h')
-rw-r--r--Src/nu/menushortcuts.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Src/nu/menushortcuts.h b/Src/nu/menushortcuts.h
new file mode 100644
index 00000000..b9c9127a
--- /dev/null
+++ b/Src/nu/menushortcuts.h
@@ -0,0 +1,20 @@
+#ifndef NULLOSFT_MEDIALIBRARY_MENU_SHORTCUTS_HEADER
+#define NULLOSFT_MEDIALIBRARY_MENU_SHORTCUTS_HEADER
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+#pragma once
+#endif
+
+#include <windows.h>
+
+#define MSF_REPLACE 0x0000
+#define MSF_APPEND 0x0001
+#define MSF_WALKSUBMENU 0x0100
+
+BOOL AppendMenuShortcuts(HMENU hMenu, HACCEL *phAccel, INT count, UINT uMode);
+BOOL AppendMenuShortcutsEx(HMENU hMenu, ACCEL *pszAccel, INT count, UINT uMode);
+BOOL AppendShortcutText(LPWSTR pszItemText, INT cchTextMax, WORD wID, HACCEL *phAccel, INT count, UINT uMode);
+BOOL AppendShortcutTextEx(LPWSTR pszItemText, INT cchTextMax, WORD wID, ACCEL *pszAccel, INT cchAccel, UINT uMode);
+
+
+#endif // NULLOSFT_MEDIALIBRARY_MENU_SHORTCUTS_HEADER \ No newline at end of file