| 1 |
bearsoft |
1.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 |
|
|
|
| 19 |
|
|
#include "ddraw.h"
|
| 20 |
|
|
#include "d3d.h"
|
| 21 |
|
|
|
| 22 |
|
|
/*
|
| 23 |
|
|
* GUIDS used by Direct3DRM Windows interface
|
| 24 |
|
|
*/
|
| 25 |
|
|
DEFINE_GUID(IID_IDirect3DRMWinDevice, 0xc5016cc0, 0xd273, 0x11ce, 0xac, 0x48, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1);
|
| 26 |
|
|
|
| 27 |
|
|
WIN_TYPES(IDirect3DRMWinDevice, DIRECT3DRMWINDEVICE);
|
| 28 |
|
|
|
| 29 |
|
|
#undef INTERFACE
|
| 30 |
|
|
#define INTERFACE IDirect3DRMWinDevice
|
| 31 |
|
|
|
| 32 |
|
|
DECLARE_INTERFACE_(IDirect3DRMWinDevice, IDirect3DRMObject)
|
| 33 |
|
|
{
|
| 34 |
|
|
IUNKNOWN_METHODS(PURE);
|
| 35 |
|
|
IDIRECT3DRMOBJECT_METHODS(PURE);
|
| 36 |
|
|
|
| 37 |
|
|
/*
|
| 38 |
|
|
* IDirect3DRMWinDevice methods
|
| 39 |
|
|
*/
|
| 40 |
|
|
|
| 41 |
|
|
/* Repaint the window with the last frame which was rendered. */
|
| 42 |
|
|
STDMETHOD(HandlePaint)(THIS_ HDC hdc) PURE;
|
| 43 |
|
|
|
| 44 |
|
|
/* Respond to a WM_ACTIVATE message. */
|
| 45 |
|
|
STDMETHOD(HandleActivate)(THIS_ WORD wparam) PURE;
|
| 46 |
|
|
};
|
| 47 |
|
|
|
| 48 |
|
|
|
| 49 |
|
|
#endif
|
| 50 |
|
|
|