Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
798 B

  1. ///////////////////////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // SHELLICO.H
  4. //
  5. // Shell tray icon handler
  6. //
  7. // Copyright (c) Microsoft Corporation 1997, 1998
  8. //
  9. // 3/15/98 David Stewart / dstewart
  10. //
  11. ///////////////////////////////////////////////////////////////////////////////////////////////////////////
  12. #include "mmfw.h"
  13. #include "sink.h"
  14. #define SHELLMESSAGE_CDICON (WM_USER+210)
  15. #define IDM_TRACKLIST_SHELL_BASE 15000
  16. #define PLAY_ICON 0
  17. #define PAUSE_ICON 1
  18. #define NODISC_ICON 2
  19. BOOL CreateShellIcon(HINSTANCE hInst, HWND hwndOwner, PCOMPNODE pNode, TCHAR* szTip);
  20. void DestroyShellIcon();
  21. void ShellIconSetTooltip();
  22. void ShellIconSetState(int nIconType);
  23. LRESULT ShellIconHandeMessage(LPARAM lParam);