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.

47 lines
3.0 KiB

  1. /******************************Module*Header*******************************\
  2. * Module Name: MfRec16.h *
  3. * *
  4. * Definitions needed for client side recording of 16 bit metafiles. *
  5. * *
  6. * Created: 14-Nov-1991 *
  7. * Author: John Colleran [johnc] *
  8. * *
  9. * Copyright (c) 1991-1999 Microsoft Corporation *
  10. \**************************************************************************/
  11. BOOL MF16_RecordParms1(HDC hdc, WORD Func);
  12. BOOL MF16_RecordParms2(HDC hdc, int parm2, WORD Func);
  13. BOOL MF16_RecordParms3(HDC hdc, int parm2, int parm3, WORD Func);
  14. BOOL MF16_RecordParms5(HDC hdc, int parm2, int parm3, int parm4, int parm5, WORD Func);
  15. BOOL MF16_RecordParms7(HDC hdc, int parm2, int parm3, int parm4, int parm5, int parm6, int parm7, WORD Func);
  16. BOOL MF16_RecordParms9(HDC hdc, int parm2, int parm3, int parm4, int parm5,
  17. int parm6, int parm7, int parm8, int parm9, WORD Func);
  18. BOOL MF16_RecordParmsD(HDC hdc, DWORD d1, WORD Func);
  19. BOOL MF16_RecordParmsWWD(HDC hdc, WORD w1, WORD w2, DWORD d3, WORD Func);
  20. BOOL MF16_RecordParmsWWDW(HDC hdc, WORD w1, WORD w2, DWORD d3, WORD w4, WORD Func);
  21. BOOL MF16_RecordParmsWWWWD(HDC hdc, WORD w1, WORD w2, WORD w3, WORD w4, DWORD d5, WORD Func);
  22. BOOL MF16_RecordParmsPoly(HDC hdc, LPPOINT lpPoint, INT nCount, WORD Func);
  23. BOOL MF16_DrawRgn(HDC hdc, HRGN hrgn, HBRUSH hBrush, INT cx, INT cy, WORD Func);
  24. BOOL MF16_BitBlt(HDC hdcDest, int x, int y, int nWidth, int nHeight,
  25. HDC hdcSrc, int xSrc, int ySrc, DWORD rop);
  26. BOOL MF16_DeleteObject(HANDLE h);
  27. BOOL MF16_ExtTextOut(HDC hdc, INT x, INT y, UINT flOptions, CONST RECT *lpRect,
  28. LPCSTR lpString, INT nCount, CONST INT *lpDX, BOOL bUnicode);
  29. BOOL MF16_PolyTextOut(HDC hdc, CONST POLYTEXTA *ppta, int cpta, BOOL bUnicode);
  30. BOOL MF16_PolyPolygon(HDC hdc, CONST POINT *lpPoint, CONST INT *lpPolyCount, int nCount);
  31. BOOL MF16_RealizePalette(HDC hdc);
  32. BOOL MF16_ResizePalette(HPALETTE hPal, UINT nCount);
  33. BOOL MF16_AnimatePalette(HPALETTE hpal, UINT iStart, UINT cEntries, CONST PALETTEENTRY *pPalEntries);
  34. HANDLE MF16_SelectObject(HDC hdc, HANDLE h);
  35. BOOL MF16_SelectClipRgn(HDC hdc, HRGN hrgn, int iMode);
  36. BOOL MF16_SelectPalette(HDC hdc, HPALETTE hpal);
  37. BOOL MF16_StretchBlt(HDC hdcDest, int x, int y, int nWidth, int nHeight,
  38. HDC hdcSrc, int xSrc, int ySrc, int nSrcWidth, int nSrcHeight, DWORD rop);
  39. BOOL MF16_TextOut(HDC hdc, INT x, INT y, LPCSTR lpString, int nCount, BOOL bUnicode);
  40. BOOL MF16_RecordDIBits(HDC hdcDst, int xDst, int yDst, int cxDst, int cyDst,
  41. int xDib, int yDib, int cxDib, int cyDib, DWORD iStartScan, DWORD cScans,
  42. DWORD cbBitsDib, CONST VOID * pBitsDib, DWORD cbBitsInfoDib, CONST BITMAPINFO *pBitsInfoDib,
  43. DWORD iUsageDib, DWORD rop, DWORD mrType);
  44. BOOL MF16_Escape(HDC hdc, int nEscape, int nCount, LPCSTR lpInData, LPVOID lpOutData);