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 / bpcbase.h < prev    next >
C/C++ Source or Header  |  1997-08-29  |  3KB  |  107 lines

  1. //
  2. // bpcbase.h: Defines the CBPCDeviceBase 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_BPCDEVICEBASE_H__4E088A12_0E75_11D1_A073_00A0C9054174__INCLUDED_)
  13. #define AFX_BPCDEVICEBASE_H__4E088A12_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. // CBPCDeviceBase wrapper class
  25.  
  26. class CBPCDeviceBase : public COleDispatchDriver
  27. {
  28. public:
  29.     CBPCDeviceBase() {}        // Calls COleDispatchDriver default constructor
  30.     CBPCDeviceBase(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
  31.     CBPCDeviceBase(const CBPCDeviceBase& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
  32.  
  33. // Attributes
  34. public:
  35.  
  36. // Operations
  37. public:
  38.     CString GetName();
  39.     BOOL GetHasFilename();
  40.     BOOL GetHasCA();
  41.     BOOL GetIsInput();
  42.     BOOL GetIsOutput();
  43.     BOOL GetHasChannel();
  44.     long GetStatus();
  45.     CString GetProdName();
  46.     CString GetFileName();
  47.     void SetFileName(LPCTSTR lpszNewValue);
  48.     long GetChannel();
  49.     void SetChannel(long nNewValue);
  50.     BOOL GetChannelAvailable(long nChannel);
  51.     long GetImageSourceWidth();
  52.     long GetImageSourceHeight();
  53.     long GetCurrentState();
  54.     double GetCurrentPosition();
  55.     void SetCurrentPosition(double newValue);
  56.     double GetDuration();
  57.     double GetPrerollTime();
  58.     void SetPrerollTime(double newValue);
  59.     double GetRate();
  60.     void SetRate(double newValue);
  61.     long GetCountryCode();
  62.     void SetCountryCode(long nNewValue);
  63.     long GetVideoFrequency();
  64.     long GetAudioFrequency();
  65.     long GetDefaultVideoType();
  66.     void SetDefaultVideoType(long nNewValue);
  67.     long GetDefaultAudioType();
  68.     void SetDefaultAudioType(long nNewValue);
  69.     long GetVideoSubchannel();
  70.     void SetVideoSubchannel(long nNewValue);
  71.     long GetAudioSubchannel();
  72.     void SetAudioSubchannel(long nNewValue);
  73.     void SetVolume(long nNewValue);
  74.     long GetVolume();
  75.     void SetBalance(long nNewValue);
  76.     long GetBalance();
  77.     void SetPower(BOOL bNewValue);
  78.     BOOL GetPower();
  79.     void SetOverScan(long nNewValue);
  80.     long GetOverScan();
  81.     long GetProviderRating();
  82.     BOOL GetProviderStatus();
  83.     long GetProviderEPGMask();
  84.     LPDISPATCH GetHistoryItems();
  85.     LPDISPATCH GetEmailMessages();
  86.     CString GetUserName_();
  87.     void SetUserName(LPCTSTR lpszNewValue);
  88.     CString GetUserArea();
  89.     void SetUserArea(LPCTSTR lpszNewValue);
  90.     LPDISPATCH GetItemDetails(long Priority, LPDISPATCH pInDetails);
  91.     long Command(long nCommand);
  92.     void Run();
  93.     void Pause();
  94.     void Stop();
  95.     void Refresh();
  96.     void ResetProviderSystem();
  97.     LPDISPATCH BuyItem(long Priority, LPDISPATCH pInDetails);
  98.     LPDISPATCH CancelItem(LPDISPATCH pInDetails);
  99.     void DisplayConfigDialog();
  100.     void HandleCardChaining(BOOL fOK);
  101. };
  102.  
  103. //{{AFX_INSERT_LOCATION}}
  104. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  105.  
  106. #endif // !defined(AFX_BPCDEVICEBASE_H__4E088A12_0E75_11D1_A073_00A0C9054174__INCLUDED_)
  107.