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