#pragma once #include "PlayerTest1.h" #define TCPMPCLASS "{36816029-BEA1-4dbf-BA81-B7C97CF7331E}" class CTcpmpPlayer { private: player* m_Player; public: CTcpmpPlayer(void); public: ~CTcpmpPlayer(void); public: // ³õʼ»¯TCPMP²¥·ÅÆ÷ bool Init(char* pVersion,int iVer = 1,void* pVideoWnd = NULL); public: void SetDisplayRect(LPRECT lRect); public: void Play(bool bPause); public: void Stop(void); public: BOOL IsPlaying(void); public: tick_t GetDuration(void); };