Isle
Loading...
Searching...
No Matches
d3drmwin.h
Go to the documentation of this file.
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#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);
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
#define IUNKNOWN_METHODS(kind)
Definition: d3drmobj.h:26
#define WIN_TYPES(itype, ptype)
Definition: d3drmobj.h:45
#define IDIRECT3DRMOBJECT_METHODS(kind)
Definition: d3drmobj.h:34
DECLARE_INTERFACE_(IDirect3DRMWinDevice, IDirect3DRMObject)
Definition: d3drmwin.h:31
DEFINE_GUID(IID_IDirect3DRMWinDevice, 0xc5016cc0, 0xd273, 0x11ce, 0xac, 0x48, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1)