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.

66 lines
1.2 KiB

  1. // Copyright (c) Microsoft Corp. 1994
  2. // Resource Executor API
  3. #ifndef _RESEXEC_
  4. #define _RESEXEC_
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. #ifdef IFBGPROC
  9. #ifndef _BITMAP_
  10. #define _BITMAP_
  11. // Win 3.1 Bitmap
  12. typedef struct
  13. {
  14. int bmType;
  15. int bmWidth;
  16. int bmHeight;
  17. int bmWidthBytes;
  18. BYTE bmPlanes;
  19. BYTE bmBitsPixel;
  20. void FAR* bmBits;
  21. }
  22. BITMAP, FAR *LPBITMAP;
  23. #endif // _BITMAP_
  24. #endif // IFBGPROC
  25. typedef struct
  26. {
  27. WORD wReserved;
  28. WORD wSize; // size of this block
  29. LPBYTE lpData; // pointer to frame data
  30. }
  31. FRAME, FAR *LPFRAME;
  32. HANDLE // context handle (NULL on failure)
  33. WINAPI hHREOpen
  34. (
  35. LPVOID lpReserved, // reserved: set to NULL
  36. UINT cbLine, // maximum page width in bytes
  37. UINT cResDir // entries in resource directory
  38. );
  39. UINT WINAPI uiHREWrite (HANDLE, LPFRAME, UINT);
  40. UINT WINAPI uiHREExecute
  41. (
  42. HANDLE hRE, // resource executor context
  43. LPBITMAP lpbmBand, // output band buffer
  44. LPVOID lpBrushPat // array of 32x32 brush patterns
  45. );
  46. UINT WINAPI uiHREClose (HANDLE);
  47. void WINAPI UnpackGlyphSet (LPVOID, LPVOID);
  48. #ifdef __cplusplus
  49. } // extern "C"
  50. #endif
  51. #endif // _RESEXEC_