www.pudn.com > AVI²¥·ÅÆ÷¨DMediaPlayer¿Ø¼þ.zip > main.h
//--------------------------------------------------------------------------- #ifndef mainH #define mainH //--------------------------------------------------------------------------- #include#include #include #include #include #include "child.h" //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TButton *Button1; TOpenDialog *OpenDialog1; void __fastcall Button1Click(TObject *Sender); private: // User declarations void ShowMCIError(); void __fastcall OnMCINotify(TMessage &msg); HANDLE playwnd; int devID; TPlayWindow *child; public: // User declarations __fastcall TForm1(TComponent* Owner); BEGIN_MESSAGE_MAP MESSAGE_HANDLER(MM_MCINOTIFY, TMessage, OnMCINotify) END_MESSAGE_MAP(TForm) }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif