dciddi.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*
  2. * DCI driver interface
  3. *
  4. * Copyright (C) 2001 Ove Kaaven
  5. *
  6. * This library is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 2.1 of the License, or (at your option) any later version.
  10. *
  11. * This library is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with this library; if not, write to the Free Software
  18. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  19. */
  20. #ifndef __WINE_DCIDDI_H
  21. #define __WINE_DCIDDI_H
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. /* DCI Command Escape */
  26. #define DCICOMMAND 3075
  27. #define DCI_VERSION 0x0100
  28. #define DCICREATEPRIMARYSURFACE 1
  29. #define DCICREATEOFFSCREENSURFACE 2
  30. #define DCICREATEOVERLAYSURFACE 3
  31. #define DCIENUMSURFACE 4
  32. #define DCIESCAPE 5
  33. /* DCI Errors */
  34. #define DCI_OK 0
  35. typedef int DCIRVAL; /* DCI callback return type */
  36. /*****************************************************************************
  37. * Escape command structures
  38. */
  39. typedef struct _DCICMD {
  40. DWORD dwCommand;
  41. DWORD dwParam1;
  42. DWORD dwParam2;
  43. DWORD dwVersion;
  44. DWORD dwReserved;
  45. } DCICMD,*LPDCICMD;
  46. #ifdef __cplusplus
  47. } /* extern "C" */
  48. #endif
  49. #endif /* __WINE_DCIDDI_H */