Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
690 B

  1. #ifndef _NAC_TEP_H_
  2. #define _NAC_TEP_H_
  3. #include "imstream.h"
  4. extern const int WM_TEP_MESSAGE;
  5. #include <pshpack8.h> /* Assume 8 byte packing throughout */
  6. class ThreadEventProxy
  7. {
  8. public:
  9. ThreadEventProxy(IStreamEventNotify *pNotify, HINSTANCE hInstance);
  10. ~ThreadEventProxy();
  11. BOOL ThreadEvent(UINT uDirection, UINT uMediaType,
  12. UINT uEventCode, UINT uSubCode);
  13. private:
  14. HWND m_hwnd; // hidden Window
  15. IStreamEventNotify *m_pNotify;
  16. static LPARAM __stdcall WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
  17. static BOOL s_bWndClassRegistered;
  18. static const LPTSTR s_szWndClassName;
  19. };
  20. #include <poppack.h>
  21. #endif