Source code of Windows XP (NT5)
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.

50 lines
1.1 KiB

  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. #ifndef __D3DRMWIN_H__
  10. #define __D3DRMWIN_H__
  11. #ifndef WIN32
  12. #define WIN32
  13. #endif
  14. #include "d3drm.h"
  15. #include "ddraw.h"
  16. #include "d3d.h"
  17. /*
  18. * GUIDS used by Direct3DRM Windows interface
  19. */
  20. DEFINE_GUID(IID_IDirect3DRMWinDevice, 0xc5016cc0, 0xd273, 0x11ce, 0xac, 0x48, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1);
  21. WIN_TYPES(IDirect3DRMWinDevice, DIRECT3DRMWINDEVICE);
  22. #undef INTERFACE
  23. #define INTERFACE IDirect3DRMWinDevice
  24. DECLARE_INTERFACE_(IDirect3DRMWinDevice, IDirect3DRMObject)
  25. {
  26. IUNKNOWN_METHODS(PURE);
  27. IDIRECT3DRMOBJECT_METHODS(PURE);
  28. /*
  29. * IDirect3DRMWinDevice methods
  30. */
  31. /* Repaint the window with the last frame which was rendered. */
  32. STDMETHOD(HandlePaint)(THIS_ HDC hdc) PURE;
  33. /* Respond to a WM_ACTIVATE message. */
  34. STDMETHOD(HandleActivate)(THIS_ WORD wparam) PURE;
  35. };
  36. #endif