#ifndef _TW_EVENT_RECEIVE_WINDOW_H__ #define _TW_EVENT_RECEIVE_WINDOW_H__ #pragma once #include "SpBase.h" #include // Macros #ifndef SAFE_RELEASE #define SAFE_RELEASE(x) { if (x) x->Release(); x = NULL; } #endif extern HWND gEventRevWnd; extern IMediaEventEx* pME; UINT WINAPI EventRevThread(PVOID Param); LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); ATOM RegisterWndClass(HINSTANCE hInstance); BOOL WndDlgInit(); // window messages #define WM_FGNOTIFY WM_USER + 1 #endif //_TW_EVENT_RECEIVE_WINDOW_H__