Old fashion design for PC-104
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.

47 lines
1.1 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 09/07/2001
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: DSWnd.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of DSWnd.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __DIRECT__SHOW__WND__H__INCLUDED__
  15. #define __DIRECT__SHOW__WND__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. #include "GenericWnd.h"
  20. #include "DSConfiguration.h"
  21. class CDSVideoWnd : public CGenericWnd
  22. {
  23. friend class CDSVideoProcessor;
  24. public:
  25. CDSVideoWnd();
  26. virtual ~CDSVideoWnd();
  27. public:
  28. BOOL Create( HWND hWndParent, int x, int y, int nWidth, int nHeight, CDSVideoProcessor *pDSVideoProcessor );
  29. virtual BOOL DestroyWindow();
  30. protected:
  31. virtual LRESULT OnDestroy( WPARAM, LPARAM );
  32. protected:
  33. void FreeDirectShow();
  34. protected:
  35. virtual LRESULT OnSize( WPARAM, LPARAM );
  36. IVideoWindow *m_pVideoWindow;
  37. };
  38. #endif