| 1 |
//------------------------------------------------------------------------------ |
| 2 |
// File: DDMM.h |
| 3 |
// |
| 4 |
// Desc: DirectShow base classes - efines routines for using DirectDraw |
| 5 |
// on a multimonitor system. |
| 6 |
// |
| 7 |
// Copyright (c) 1995-2001 Microsoft Corporation. All rights reserved. |
| 8 |
//------------------------------------------------------------------------------ |
| 9 |
|
| 10 |
|
| 11 |
#ifdef __cplusplus |
| 12 |
extern "C" { /* Assume C declarations for C++ */ |
| 13 |
#endif /* __cplusplus */ |
| 14 |
|
| 15 |
// DDRAW.H might not include these |
| 16 |
#ifndef DDENUM_ATTACHEDSECONDARYDEVICES |
| 17 |
#define DDENUM_ATTACHEDSECONDARYDEVICES 0x00000001L |
| 18 |
#endif |
| 19 |
|
| 20 |
typedef HRESULT (*PDRAWCREATE)(IID *,LPDIRECTDRAW *,LPUNKNOWN); |
| 21 |
typedef HRESULT (*PDRAWENUM)(LPDDENUMCALLBACKA, LPVOID); |
| 22 |
|
| 23 |
IDirectDraw * DirectDrawCreateFromDevice(__in_opt LPSTR, PDRAWCREATE, PDRAWENUM); |
| 24 |
IDirectDraw * DirectDrawCreateFromDeviceEx(__in_opt LPSTR, PDRAWCREATE, LPDIRECTDRAWENUMERATEEXA); |
| 25 |
|
| 26 |
#ifdef __cplusplus |
| 27 |
} |
| 28 |
#endif /* __cplusplus */ |