1 //------------------------------------------------------------------------------
4 // Desc: DirectShow base classes - efines routines for using DirectDraw
5 // on a multimonitor system.
7 // Copyright (c) 1995-2002 Microsoft Corporation. All rights reserved.
8 //------------------------------------------------------------------------------
12 extern "C" { /* Assume C declarations for C++ */
13 #endif /* __cplusplus */
15 // DDRAW.H might not include these
16 #ifndef DDENUM_ATTACHEDSECONDARYDEVICES
17 #define DDENUM_ATTACHEDSECONDARYDEVICES 0x00000001L
20 typedef HRESULT (*PDRAWCREATE
)(IID
*,LPDIRECTDRAW
*,LPUNKNOWN
);
21 typedef HRESULT (*PDRAWENUM
)(LPDDENUMCALLBACKA
, LPVOID
);
23 IDirectDraw
* DirectDrawCreateFromDevice(LPSTR
, PDRAWCREATE
, PDRAWENUM
);
24 IDirectDraw
* DirectDrawCreateFromDeviceEx(LPSTR
, PDRAWCREATE
, LPDIRECTDRAWENUMERATEEXA
);
28 #endif /* __cplusplus */