annotate lib/legacy_dx/d3drmwin.h @ 2217:744ed51880ed

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