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.

61 lines
690 B

  1. #define BMPAPI __stdcall
  2. HBITMAP
  3. BMPAPI
  4. DIBToBitmap(
  5. LPVOID pDIB,
  6. HPALETTE hPal
  7. );
  8. HANDLE
  9. BMPAPI
  10. BitmapToDIB(
  11. HBITMAP hBitmap,
  12. HPALETTE hPal
  13. );
  14. BOOL
  15. BMPAPI
  16. SaveDIB(
  17. LPVOID pDib,
  18. LPCSTR lpFileName
  19. );
  20. HANDLE
  21. BMPAPI
  22. ReadDIBFile(
  23. HANDLE hFile
  24. );
  25. BOOL
  26. BMPAPI
  27. SaveBitmapInFile(
  28. HBITMAP hBitmap,
  29. LPCSTR szFileName
  30. );
  31. BOOL
  32. BMPAPI
  33. CompareTwoDIBs(
  34. LPVOID pDIB1,
  35. LPVOID pDIB2,
  36. HBITMAP *phbmpOutput
  37. );
  38. BOOL
  39. BMPAPI
  40. CompareTwoBitmapFiles(
  41. LPCSTR szFile1,
  42. LPCSTR szFile2,
  43. LPCSTR szResultFileName
  44. );
  45. BOOL
  46. GetScreenDIB(
  47. INT left,
  48. INT top,
  49. INT right,
  50. INT bottom,
  51. HANDLE *phDIB
  52. );