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.
|
|
|
|
//
|
2018-04-28 16:52:15 +00:00
|
|
|
// Copyright (c) 1995-2001 Microsoft Corporation. All rights reserved.
|
2009-02-09 21:15:56 +00:00
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
#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);
|
|
|
|
|
2018-04-28 16:52:15 +00:00
|
|
|
IDirectDraw * DirectDrawCreateFromDevice(__in_opt LPSTR, PDRAWCREATE, PDRAWENUM);
|
|
|
|
IDirectDraw * DirectDrawCreateFromDeviceEx(__in_opt LPSTR, PDRAWCREATE, LPDIRECTDRAWENUMERATEEXA);
|
2009-02-09 21:15:56 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|