EventRevWnd.h 556 B

12345678910111213141516171819202122232425
  1. #ifndef _TW_EVENT_RECEIVE_WINDOW_H__
  2. #define _TW_EVENT_RECEIVE_WINDOW_H__
  3. #pragma once
  4. #include "SpBase.h"
  5. #include <DShow.h>
  6. // Macros
  7. #ifndef SAFE_RELEASE
  8. #define SAFE_RELEASE(x) { if (x) x->Release(); x = NULL; }
  9. #endif
  10. extern HWND gEventRevWnd;
  11. extern IMediaEventEx* pME;
  12. UINT WINAPI EventRevThread(PVOID Param);
  13. LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
  14. ATOM RegisterWndClass(HINSTANCE hInstance);
  15. BOOL WndDlgInit();
  16. // window messages
  17. #define WM_FGNOTIFY WM_USER + 1
  18. #endif //_TW_EVENT_RECEIVE_WINDOW_H__