menushortcuts.h 724 B

1234567891011121314151617181920
  1. #ifndef NULLOSFT_MEDIALIBRARY_MENU_SHORTCUTS_HEADER
  2. #define NULLOSFT_MEDIALIBRARY_MENU_SHORTCUTS_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <windows.h>
  7. #define MSF_REPLACE 0x0000
  8. #define MSF_APPEND 0x0001
  9. #define MSF_WALKSUBMENU 0x0100
  10. BOOL AppendMenuShortcuts(HMENU hMenu, HACCEL *phAccel, INT count, UINT uMode);
  11. BOOL AppendMenuShortcutsEx(HMENU hMenu, ACCEL *pszAccel, INT count, UINT uMode);
  12. BOOL AppendShortcutText(LPWSTR pszItemText, INT cchTextMax, WORD wID, HACCEL *phAccel, INT count, UINT uMode);
  13. BOOL AppendShortcutTextEx(LPWSTR pszItemText, INT cchTextMax, WORD wID, ACCEL *pszAccel, INT cchAccel, UINT uMode);
  14. #endif // NULLOSFT_MEDIALIBRARY_MENU_SHORTCUTS_HEADER