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.

42 lines
1.4 KiB

  1. /****************************************************************************
  2. * @doc INTERNAL VDEVICEP
  3. *
  4. * @module VDeviceP.h | Header file for the <c CVDeviceProperties>
  5. * class used to implement a property page to test the <i ITVfwCaptureDialogs>,
  6. * as well as <i ITAddress> and <ITStream> interfaces to select video
  7. * capture devices.
  8. ***************************************************************************/
  9. /****************************************************************************
  10. * @doc INTERNAL CDEVICEPCLASS
  11. *
  12. * @class CVDeviceProperties | This class implements a property page
  13. * to test the new TAPI internal interface <i IVideoDeviceControl>.
  14. *
  15. * @mdata ITVfwCaptureDialogs* | CVDeviceProperties | m_pITVfwCaptureDialogs | Pointer
  16. * to the <i m_pITVfwCaptureDialogs> interface used to put VfW capture dialogs.
  17. ***************************************************************************/
  18. class CVDeviceProperties
  19. {
  20. public:
  21. CVDeviceProperties();
  22. ~CVDeviceProperties();
  23. HPROPSHEETPAGE OnCreate();
  24. HRESULT OnConnect(ITTerminal *pITTerminal);
  25. HRESULT OnDisconnect();
  26. private:
  27. #if USE_VFW
  28. ITVfwCaptureDialogs *m_pITVfwCaptureDialogs;
  29. #endif
  30. BOOL m_bInit;
  31. HWND m_hDlg;
  32. // Dialog proc
  33. static INT_PTR CALLBACK BaseDlgProc(HWND hDlg, UINT uMessage, WPARAM wParam, LPARAM lParam);
  34. };