Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.7 KiB

  1. ;----------------------------------------------------------------------------
  2. ; DVADDDI.INC
  3. ;
  4. ; Copyright (c) 1993 Microsoft Corporation
  5. ;
  6. ; DVA 1.0 Interface Definitions
  7. ;----------------------------------------------------------------------------
  8. ;----------------------------------------------------------------------------
  9. ; E Q U A T E S
  10. ;----------------------------------------------------------------------------
  11. DVAGETSURFACE equ 3074d ; GDI Escape for DVA
  12. DVA_VERSION equ 0100h ; version number of DVA 1.0
  13. ;----------------------------------------------------------------------------
  14. ; DVASURFACEINFO structure
  15. ;----------------------------------------------------------------------------
  16. DVASURFACEINFO struc
  17. dvaBitmapInfo db 40 dup(?) ; BITMAPINFO of surface
  18. dvaMasks dd 3 dup(?) ; masks for BI_BITFIELDS
  19. dvaOffSurface dd ? ; surface offset
  20. dvaSelSurface dw ? ; surface selector
  21. dvaVersion dw ? ; DVA Version
  22. dvaFlags dd ? ; Flags
  23. dvaSurface dd ? ; driver use.
  24. dvaOpenSurface dd ? ; OpenSurface callback
  25. dvaCloseSurface dd ? ; CloseSurface callback
  26. dvaBeginAccess dd ? ; BeginAccess callback
  27. dvaEndAccess dd ? ; EndAccess callback
  28. dvaShowSurface dd ? ; ShowSurface callback
  29. DVASURFACEINFO ends
  30. ;----------------------------------------------------------------------------
  31. ; Definitions for DVASURFACEINFO.dvaFlags
  32. ;----------------------------------------------------------------------------
  33. DVAF_1632_ACCESS equ 0001h ; must access using 16:32 pointers