Leaked source code of windows server 2003
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.

112 lines
4.9 KiB

  1. /*++ BUILD Version: 0001
  2. *
  3. * WOW v1.0
  4. *
  5. * Copyright (c) 1991, Microsoft Corporation
  6. *
  7. * WGDI.H
  8. * WOW32 16-bit GDI API support
  9. *
  10. * History:
  11. * Created 07-Mar-1991 by Jeff Parsons (jeffpar)
  12. --*/
  13. typedef struct _LINEDDADATA { /* LineDDAdata */
  14. VPPROC vpfnLineDDAProc; // 16-bit function
  15. DWORD dwUserDDAParam; // user param, if any
  16. } LINEDDADATA, *PLINEDDADATA;
  17. typedef struct _ENUMOBJDATA { /* LineDDAdata */
  18. INT ObjType;
  19. VPPROC vpfnEnumObjProc; // 16-bit function
  20. VPVOID vpObjData;
  21. DWORD dwUserParam; // user param, if any
  22. } ENUMOBJDATA, *PENUMOBJDATA;
  23. // 16-bit version of DRAWPATRECT which is used in Windows 3.1
  24. typedef struct _DRAWPATRECT16 {
  25. POINT16 ptPosition;
  26. POINT16 ptSize;
  27. WORD wStyle;
  28. WORD wPattern;
  29. } DRAWPATRECT16, *PDPR16;
  30. ULONG FASTCALL WG32CreateBitmap(PVDMFRAME pFrame);
  31. ULONG FASTCALL WG32CreateBitmapIndirect(PVDMFRAME pFrame);
  32. ULONG FASTCALL WG32CreateBrushIndirect(PVDMFRAME pFrame);
  33. ULONG FASTCALL WG32CreateCompatibleDC(PVDMFRAME pFrame);
  34. ULONG FASTCALL WG32CreateDC(PVDMFRAME pFrame);
  35. ULONG FASTCALL WG32CreateDIBPatternBrush(PVDMFRAME pFrame);
  36. ULONG FASTCALL WG32CreateDIBitmap(PVDMFRAME pFrame);
  37. ULONG FASTCALL WG32CreateEllipticRgnIndirect(PVDMFRAME pFrame);
  38. ULONG FASTCALL WG32CreateIC(PVDMFRAME pFrame);
  39. ULONG FASTCALL WG32CreatePatternBrush(PVDMFRAME pFrame);
  40. ULONG FASTCALL WG32CreatePenIndirect(PVDMFRAME pFrame);
  41. ULONG FASTCALL WG32CreatePolyPolygonRgn(PVDMFRAME pFrame);
  42. ULONG FASTCALL WG32CreatePolygonRgn(PVDMFRAME pFrame);
  43. ULONG FASTCALL WG32CreateRectRgnIndirect(PVDMFRAME pFrame);
  44. ULONG FASTCALL WG32DPtoLP(PVDMFRAME pFrame);
  45. ULONG FASTCALL WG32DeleteDC(PVDMFRAME pFrame);
  46. ULONG FASTCALL WG32DeleteObject(PVDMFRAME pFrame);
  47. ULONG FASTCALL WG32DeviceMode(PVDMFRAME pFrame);
  48. ULONG FASTCALL WG32EnumObjects(PVDMFRAME pFrame);
  49. ULONG FASTCALL WG32Escape(PVDMFRAME pFrame);
  50. ULONG FASTCALL WG32ExtDeviceMode(PVDMFRAME pFrame);
  51. ULONG FASTCALL WG32DeviceCapabilities(PVDMFRAME pFrame);
  52. ULONG FASTCALL WG32GetBitmapDimension(PVDMFRAME pFrame);
  53. ULONG FASTCALL WG32GetBrushOrg(PVDMFRAME pFrame);
  54. ULONG FASTCALL WG32GetClipBox(PVDMFRAME pFrame);
  55. ULONG FASTCALL WG32GetCurLogFont(PVDMFRAME pFrame);
  56. ULONG FASTCALL WG32GetCurrentPosition(PVDMFRAME pFrame);
  57. ULONG FASTCALL WG32GetDCOrg(PVDMFRAME pFrame);
  58. ULONG FASTCALL WG32GetDIBits(PVDMFRAME pFrame);
  59. ULONG FASTCALL WG32GetDeviceCaps(PVDMFRAME pFrame);
  60. ULONG FASTCALL WG32GetEnvironment(PVDMFRAME pFrame);
  61. ULONG FASTCALL WG32GetObject(PVDMFRAME pFrame);
  62. ULONG FASTCALL WG32GetObjectType(PVDMFRAME pFrame);
  63. ULONG FASTCALL WG32GetRgnBox(PVDMFRAME pFrame);
  64. ULONG FASTCALL WG32GetViewportExt(PVDMFRAME pFrame);
  65. ULONG FASTCALL WG32GetViewportOrg(PVDMFRAME pFrame);
  66. ULONG FASTCALL WG32GetWindowExt(PVDMFRAME pFrame);
  67. ULONG FASTCALL WG32GetWindowOrg(PVDMFRAME pFrame);
  68. ULONG FASTCALL WG32LPtoDP(PVDMFRAME pFrame);
  69. ULONG FASTCALL WG32LineDDA(PVDMFRAME pFrame);
  70. ULONG FASTCALL WG32MoveTo(PVDMFRAME pFrame);
  71. ULONG FASTCALL WG32OffsetViewportOrg(PVDMFRAME pFrame);
  72. ULONG FASTCALL WG32OffsetWindowOrg(PVDMFRAME pFrame);
  73. ULONG FASTCALL WG32PolyPolygon(PVDMFRAME pFrame);
  74. ULONG FASTCALL WG32Polygon(PVDMFRAME pFrame);
  75. ULONG FASTCALL WG32Polyline(PVDMFRAME pFrame);
  76. ULONG FASTCALL WG32PolyPolylineWOW(PVDMFRAME pFrame);
  77. ULONG FASTCALL WG32RectInRegion(PVDMFRAME pFrame);
  78. ULONG FASTCALL WG32RectVisible(PVDMFRAME pFrame);
  79. ULONG FASTCALL WG32ScaleViewportExt(PVDMFRAME pFrame);
  80. ULONG FASTCALL WG32ScaleWindowExt(PVDMFRAME pFrame);
  81. LONG W32AbortProc(HDC hPr, int code);
  82. ULONG FASTCALL WG32SetBitmapBits(PVDMFRAME pFrame);
  83. ULONG FASTCALL WG32SetBitmapDimension(PVDMFRAME pFrame);
  84. ULONG FASTCALL WG32SetBrushOrg(PVDMFRAME pFrame);
  85. ULONG FASTCALL WG32SetDIBits(PVDMFRAME pFrame);
  86. ULONG FASTCALL WG32SetDIBitsToDevice(PVDMFRAME pFrame);
  87. ULONG FASTCALL WG32SetViewportExt(PVDMFRAME pFrame);
  88. ULONG FASTCALL WG32SetViewportOrg(PVDMFRAME pFrame);
  89. ULONG FASTCALL WG32SetWindowExt(PVDMFRAME pFrame);
  90. ULONG FASTCALL WG32SetWindowOrg(PVDMFRAME pFrame);
  91. ULONG FASTCALL WG32StretchDIBits(PVDMFRAME pFrame);
  92. ULONG FASTCALL WG32CreateDIBSection(PVDMFRAME pFrame);
  93. ULONG FASTCALL WG32GetDIBColorTable(PVDMFRAME pFrame);
  94. ULONG FASTCALL WG32SetDIBColorTable(PVDMFRAME pFrame);
  95. ULONG FASTCALL WG32DMBitBlt(PVDMFRAME pFrame);
  96. BOOL IsFaxPrinterSupportedDevice(PSZ pszDevice);
  97. BOOL IsFaxPrinterWriteProfileString(PSZ szSection, PSZ szKey, PSZ szString);
  98. DWORD GetFaxPrinterProfileString(PSZ szSection, PSZ szKey, PSZ szDefault, PSZ szRetBuf, DWORD cbBufSize);
  99. ULONG Get_RLE_Compression_Size(DWORD RLE_Type, PBYTE pStart, VPVOID vpBytes);
  100. HANDLE hConvert16to32 (int h16);
  101. HAND16 hConvert32to16 (DWORD h32);
  102. #ifdef FE_SB //GetFontAssocStatus, pisuih, 10/5/94'
  103. ULONG FASTCALL WG32GetFontAssocStatus(PVDMFRAME pFrame);
  104. #endif //FE_SB