home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / vpnotify.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  2.2 KB  |  92 lines

  1. //==========================================================================;
  2. //
  3. //  Copyright (c) 1997    Microsoft Corporation.    All Rights Reserved.
  4. //
  5. //--------------------------------------------------------------------------;
  6.  
  7. #ifndef __IVPNotify__
  8. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  9. #define __IVPNotify__
  10.  
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14.  
  15. // interface IVPBaseNotify
  16. DECLARE_INTERFACE_(IVPBaseNotify, IUnknown)
  17. {
  18. public:
  19.     // this function initializes the reconnection to the decoder. 
  20.     STDMETHOD (RenegotiateVPParameters)(THIS_
  21.                        ) PURE;
  22.  
  23. };
  24.  
  25. // interface IVPNotify
  26. DECLARE_INTERFACE_(IVPNotify, IVPBaseNotify)
  27. {
  28. public:
  29.     // function to set the mode (bob, weave etc)
  30.     STDMETHOD (SetDeinterlaceMode)(THIS_ 
  31.                    IN AMVP_MODE mode
  32.                   ) PURE;
  33.  
  34.     // function to get the mode (bob, weave etc)
  35.     STDMETHOD (GetDeinterlaceMode)(THIS_ 
  36.                    OUT AMVP_MODE *pMode
  37.                   ) PURE;
  38. };
  39.  
  40. // interface IVPNotify
  41. DECLARE_INTERFACE_(IVPNotify2, IVPNotify)
  42. {
  43. public:
  44. // function to set the mode (bob, weave etc)
  45.     STDMETHOD (SetVPSyncMaster)(THIS_ 
  46.                    IN BOOL bVPSyncMaster
  47.                   ) PURE;
  48.  
  49.     // function to get the mode (bob, weave etc)
  50.     STDMETHOD (GetVPSyncMaster)(THIS_ 
  51.                    OUT BOOL *pbVPSyncMaster
  52.                   ) PURE;
  53.  
  54.     /*
  55.     // this function sets the directdraw surface that the mixer is supposed to use.
  56.     STDMETHOD (SetDirectDrawSurface)(THIS_ 
  57.                   IN LPDIRECTDRAWSURFACE pDirectDrawSurface
  58.                  ) PURE;
  59.  
  60.     // this function gets the directdraw surface that the mixer is using
  61.     STDMETHOD (GetDirectDrawSurface)(THIS_ 
  62.                   OUT LPDIRECTDRAWSURFACE *ppDirectDrawSurface
  63.                  ) PURE;
  64.  
  65.     // this functions sets the color-controls, if the chip supports it.
  66.     STDMETHOD (SetVPColorControls)(THIS_ 
  67.                  IN LPDDCOLORCONTROL pColorControl
  68.                 ) PURE;
  69.  
  70.     // this functions also returns the capability of the hardware in the dwFlags
  71.     // value of the struct.
  72.     STDMETHOD (GetVPColorControls)(THIS_ 
  73.                  OUT LPDDCOLORCONTROL *ppColorControl
  74.                 ) PURE;
  75.     */
  76. };
  77.  
  78.  
  79. // interface IVPVBINotify
  80. DECLARE_INTERFACE_(IVPVBINotify, IVPBaseNotify)
  81. {
  82. public:
  83. };
  84.  
  85. #ifdef __cplusplus
  86. }
  87. #endif
  88.  
  89.  
  90. #pragma option pop /*P_O_Pop*/
  91. #endif // __IVPNotify__
  92.