home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / ba / usevideo / videomfc / bpcdev.h < prev    next >
C/C++ Source or Header  |  1997-08-29  |  2KB  |  66 lines

  1. //
  2. // bpcdev.h: Defines the CBPCDevices class 
  3. //
  4. // Copyright (C) 1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Broadcast Architecture Programmer's Reference.
  9. // For detailed information regarding Broadcast
  10. // Architecture, see the reference.
  11. //
  12. #if !defined(AFX_BPCDEVICES_H__4E088A11_0E75_11D1_A073_00A0C9054174__INCLUDED_)
  13. #define AFX_BPCDEVICES_H__4E088A11_0E75_11D1_A073_00A0C9054174__INCLUDED_
  14.  
  15. #if _MSC_VER >= 1000
  16. #pragma once
  17. #endif // _MSC_VER >= 1000
  18. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  19.  
  20. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  21. //  Microsoft Visual C++, your modifications will be overwritten.
  22.  
  23.  
  24. // Dispatch interfaces referenced by this interface
  25. class CBPCDeviceBase;
  26.  
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CBPCDevices wrapper class
  29.  
  30. class CBPCDevices : public COleDispatchDriver
  31. {
  32. public:
  33.     CBPCDevices() {}        // Calls COleDispatchDriver default constructor
  34.     CBPCDevices(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  35.     CBPCDevices(const CBPCDevices& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  36.  
  37. // Attributes
  38. public:
  39.  
  40. // Operations
  41. public:
  42.     long GetCount();
  43.     void SetHWnd(long nNewValue);
  44.     void SetLcid(long nNewValue);
  45.     void SetNotify(LPDISPATCH newValue);
  46.     long GetColorKey();
  47.     void SetColorKey(long nNewValue);
  48.     long GetPriority();
  49.     void SetPriority(long nNewValue);
  50.     CBPCDeviceBase GetInput();
  51.     void SetInput(LPDISPATCH newValue);
  52.     CBPCDeviceBase GetOutput();
  53.     void SetOutput(LPDISPATCH newValue);
  54.     BOOL GetVideoOn();
  55.     void SetVideoOn(BOOL bNewValue);
  56.     CBPCDeviceBase Item(const VARIANT& v);
  57.     void Tune(long lTuningSpace, long Channel, long VideoSubchannel, long AudioSubchannel);
  58.     long TSDeviceCount(long lTuningSpace);
  59.     LPUNKNOWN GetNewEnum();
  60. };
  61.  
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  64.  
  65. #endif // !defined(AFX_BPCDEVICES_H__4E088A11_0E75_11D1_A073_00A0C9054174__INCLUDED_)
  66.