2009-02-09 21:15:56 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
// File: DDMM.h
|
|
|
|
//
|
2010-04-25 00:31:27 +00:00
|
|
|
// Desc: DirectShow base classes - efines routines for using DirectDraw
|
2009-02-09 21:15:56 +00:00
|
|
|
// on a multimonitor system.
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" { /* Assume C declarations for C++ */
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
// DDRAW.H might not include these
|
|
|
|
#ifndef DDENUM_ATTACHEDSECONDARYDEVICES
|
|
|
|
#define DDENUM_ATTACHEDSECONDARYDEVICES 0x00000001L
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef HRESULT (*PDRAWCREATE)(IID *,LPDIRECTDRAW *,LPUNKNOWN);
|
|
|
|
typedef HRESULT (*PDRAWENUM)(LPDDENUMCALLBACKA, LPVOID);
|
|
|
|
|
|
|
|
IDirectDraw * DirectDrawCreateFromDevice(LPSTR, PDRAWCREATE, PDRAWENUM);
|
|
|
|
IDirectDraw * DirectDrawCreateFromDeviceEx(LPSTR, PDRAWCREATE, LPDIRECTDRAWENUMERATEEXA);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|