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

  1. /*==========================================================================;
  2.  *
  3.  *  Copyright (C) 1995-1997 Microsoft Corporation.  All Rights Reserved.
  4.  *
  5.  *  File:       d3drm.h
  6.  *  Content:    Direct3DRM include file
  7.  *
  8.  ***************************************************************************/
  9.  
  10. #ifndef __D3DRMWIN_H__
  11. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  12. #define __D3DRMWIN_H__
  13.  
  14. #ifndef WIN32
  15. #define WIN32
  16. #endif
  17.  
  18. #include "d3drm.h"
  19.  
  20. #include "ddraw.h"
  21. #include "d3d.h"
  22.  
  23. /*
  24.  * GUIDS used by Direct3DRM Windows interface
  25.  */
  26. DEFINE_GUID(IID_IDirect3DRMWinDevice,   0xc5016cc0, 0xd273, 0x11ce, 0xac, 0x48, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1);
  27.  
  28. WIN_TYPES(IDirect3DRMWinDevice, DIRECT3DRMWINDEVICE);
  29.  
  30. #undef INTERFACE
  31. #define INTERFACE IDirect3DRMWinDevice
  32.  
  33. DECLARE_INTERFACE_(IDirect3DRMWinDevice, IDirect3DRMObject)
  34. {
  35.     IUNKNOWN_METHODS(PURE);
  36.     IDIRECT3DRMOBJECT_METHODS(PURE);
  37.  
  38.     /*
  39.      * IDirect3DRMWinDevice methods
  40.      */
  41.  
  42.     /* Repaint the window with the last frame which was rendered. */
  43.     STDMETHOD(HandlePaint)(THIS_ HDC hdc) PURE;
  44.  
  45.     /* Respond to a WM_ACTIVATE message. */
  46.     STDMETHOD(HandleActivate)(THIS_ WORD wparam) PURE;
  47. };
  48.  
  49.  
  50. #pragma option pop /*P_O_Pop*/
  51. #endif
  52.  
  53.