annotate lib/legacy_dx/d3drmwin.h @ 0:8b8875f5b359

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