Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.5 KiB

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