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.

31 lines
1.5 KiB

  1. /*-----------------------------------------------------------------------------+
  2. | ERRORPROP.H |
  3. | |
  4. | Interactive error propagation bitmap enhancement program. |
  5. | |
  6. | (C) Copyright Microsoft Corporation 1992. All rights reserved. |
  7. | |
  8. | Revision History |
  9. | Oct-1992 MikeTri Ported to WIN32 / WIN16 common code |
  10. | |
  11. +-----------------------------------------------------------------------------*/
  12. #define MAXPROP 16
  13. #define MAXMULT 64
  14. typedef struct {
  15. short GrayThresh;
  16. short LoThresh;
  17. short HiThresh;
  18. short Prop;
  19. short Mult[3];
  20. } ERRPROPPARAMS;
  21. typedef ERRPROPPARAMS NEAR *PERRPROPPARAMS;
  22. int SetDIBitsErrProp(HDC hdc,HBITMAP hbm,WORD nStart,WORD nScans,LPBYTE lpBits,LPBITMAPINFO lpbi,WORD wUsage);
  23. void SetErrPropParams(PERRPROPPARAMS pErrProp);
  24. void GetErrPropParams(PERRPROPPARAMS pErrProp);
  25. extern void FAR PASCAL BltProp(LPBITMAPINFOHEADER lpbiSrc, LPBYTE pbSrc, UINT SrcX, UINT SrcY, UINT SrcXE, UINT SrcYE,
  26. LPBITMAPINFOHEADER lpbiDst, LPBYTE pbDst, UINT DstX, UINT DstY);
  27.