home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / vpnotify.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  2KB  |  91 lines

  1. //==========================================================================;
  2. //
  3. //  Copyright (c) 1997    Microsoft Corporation.    All Rights Reserved.
  4. //
  5. //--------------------------------------------------------------------------;
  6.  
  7. #ifndef __IVPNotify__
  8. #define __IVPNotify__
  9.  
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13.  
  14. /*
  15. typedef struct _DDCOLORCONTROL
  16. {
  17.     DWORD         dwSize;
  18.     DWORD        dwFlags;
  19.     LONG        lBrightness;
  20.     LONG        lContrast;
  21.     LONG        lHue;
  22.     LONG         lSaturation;
  23.     LONG        lSharpness;
  24.     LONG        lGamma;
  25.     LONG        lEnable;
  26. } DDCOLORCONTROL;
  27. */
  28.  
  29. // interface IVPBaseNotify
  30. DECLARE_INTERFACE_(IVPBaseNotify, IUnknown)
  31. {
  32. public:
  33.     // this function initializes the reconnection to the decoder. 
  34.     STDMETHOD (RenegotiateVPParameters)(THIS_
  35.                        ) PURE;
  36.  
  37. };
  38.  
  39. // interface IVPNotify
  40. DECLARE_INTERFACE_(IVPNotify, IVPBaseNotify)
  41. {
  42. public:
  43.     // function to set the mode (bob, weave etc)
  44.     STDMETHOD (SetDeinterlaceMode)(THIS_ 
  45.                    IN AMVP_MODE mode
  46.                   ) PURE;
  47.  
  48.     // function to get the mode (bob, weave etc)
  49.     STDMETHOD (GetDeinterlaceMode)(THIS_ 
  50.                    OUT AMVP_MODE *pMode
  51.                   ) PURE;
  52.  
  53.  
  54.     /*
  55.     // this function sets the overlay surface that the mixer is supposed to use.
  56.     STDMETHOD (SetOverlaySurface)(THIS_ 
  57.                   IN LPDIRECTDRAWSURFACE pOverlaySurface
  58.                  ) PURE;
  59.  
  60.     // this function gets the overlay surface that the mixer is using
  61.     STDMETHOD (GetOverlaySurface)(THIS_ 
  62.                   OUT LPDIRECTDRAWSURFACE *ppOverlaySurface
  63.                  ) PURE;
  64.  
  65.   // this functions sets the color-controls, if the chip supports it.
  66.     STDMETHOD (SetColorControls)(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 (GetColorControls)(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. #endif // __IVPNotify__
  91.