CPI_Player_Messages.h
上传用户:tuheem
上传日期:2007-05-01
资源大小:21889k
文件大小:1k
源码类别:

多媒体编程

开发平台:

Visual C++

  1. typedef struct __CPs_PlayEngine
  2. {
  3.     HANDLE m_hThread;
  4.     DWORD m_dwThreadID;
  5.     HANDLE m_hEvtThreadReady;
  6.     HWND m_hWndNotify;
  7.     HMIXER m_hVolumeMixer;
  8.     DWORD m_dwMixerControlID;
  9. } CPs_PlayEngine;
  10. extern DWORD WINAPI CPI_Player__EngineEP(void* pCookie);
  11. #define CPTM_QUIT (WM_APP+0x001)
  12. #define CPTM_OPENFILE (WM_APP+0x002)
  13. #define CPTM_SEEK (WM_APP+0x003)
  14. #define CPTM_PLAY (WM_APP+0x004)
  15. #define CPTM_STOP (WM_APP+0x005)
  16. #define CPTM_PAUSE (WM_APP+0x006)
  17. #define CPTM_SETPROGRESSTRACKLENGTH (WM_APP+0x008)
  18. #define CPTM_SENDSYNCCOOKIE (WM_APP+0x009)
  19. #define CPTM_BLOCKMSGUNTILENDOFSTREAM (WM_APP+0x00A)
  20. #define CPTM_ENUMOUTPUTDEVICES (WM_APP+0x00B)
  21. #define CPTM_SETEQSETTINGS (WM_APP+0x00C)
  22. #define CPTM_ONOUTPUTMODULECHANGE (WM_APP+0x00D)
  23. #define CPTM_ASSOCIATEFILEEXTENSIONS (WM_APP+0x00E)
  24. #define CPTM_SETINTERNALVOLUME (WM_APP+0x00F)
  25. #define CPNM_first (WM_APP+0x101)
  26. //
  27. #define CPNM_PLAYERSTATE (WM_APP+0x101)
  28. #define CPNM_FILEINFO (WM_APP+0x102)
  29. #define CPNM_FILEOFFSET_SECS (WM_APP+0x103)
  30. #define CPNM_FILEOFFSET_PROP (WM_APP+0x104)
  31. #define CPNM_SYNCCOOKIE (WM_APP+0x105)
  32. #define CPNM_FOUNDOUTPUTDEVICE (WM_APP+0x106)
  33. #define CPNM_SETSTREAMINGSTATE (WM_APP+0x107)
  34. // ..
  35. //
  36. #define CPNM_last (WM_APP+0x107)