ddmm.h 960 B

12345678910111213141516171819202122232425262728
  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. #ifdef __cplusplus
  10. extern "C" { /* Assume C declarations for C++ */
  11. #endif /* __cplusplus */
  12. // DDRAW.H might not include these
  13. #ifndef DDENUM_ATTACHEDSECONDARYDEVICES
  14. #define DDENUM_ATTACHEDSECONDARYDEVICES 0x00000001L
  15. #endif
  16. typedef HRESULT (*PDRAWCREATE)(IID *,LPDIRECTDRAW *,LPUNKNOWN);
  17. typedef HRESULT (*PDRAWENUM)(LPDDENUMCALLBACKA, LPVOID);
  18. IDirectDraw * DirectDrawCreateFromDevice(__in_opt LPSTR, PDRAWCREATE, PDRAWENUM);
  19. IDirectDraw * DirectDrawCreateFromDeviceEx(__in_opt LPSTR, PDRAWCREATE, LPDIRECTDRAWENUMERATEEXA);
  20. #ifdef __cplusplus
  21. }
  22. #endif /* __cplusplus */