1
0

local_menu.h 986 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef _NULLSOFT_WINAMP_ML_DEVICES_MENU_HEADER
  2. #define _NULLSOFT_WINAMP_ML_DEVICES_MENU_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <wtypes.h>
  7. int
  8. Menu_TrackSkinnedPopup(HMENU menu,
  9. unsigned int flags,
  10. int x,
  11. int y,
  12. HWND hwnd,
  13. LPTPMPARAMS lptpm);
  14. unsigned int
  15. Menu_InsertDeviceItems(HMENU menu,
  16. int position,
  17. unsigned int baseId,
  18. ifc_device *device,
  19. DeviceCommandContext context);
  20. unsigned int
  21. Menu_FreeItemData(HMENU menu,
  22. unsigned int start,
  23. int count);
  24. ULONG_PTR
  25. Menu_GetItemData(HMENU menu,
  26. unsigned int item,
  27. BOOL byPosition);
  28. typedef BOOL (*Menu_FindItemByDataCb)(ULONG_PTR param, void *user);
  29. unsigned int
  30. Menu_FindItemByData(HMENU menu,
  31. Menu_FindItemByDataCb callback,
  32. void *user);
  33. unsigned int
  34. Menu_FindItemByAnsiStringData(HMENU menu,
  35. const char *string);
  36. #endif //_NULLSOFT_WINAMP_ML_DEVICES_MENU_HEADER