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.

27 lines
619 B

  1. #ifndef _INSTCOLL_H_
  2. #define _INSTCOLL_H_
  3. #include <windows.h>
  4. #include <objbase.h>
  5. #include "resource.h"
  6. #define HDIB HANDLE
  7. #define PALVERSION 0x300
  8. #define WIDTHBYTES(bits) (((bits) + 31) / 32 * 4)
  9. #define IS_WIN30_DIB(lpbi) ((*(LPDWORD)(lpbi)) == sizeof(BITMAPINFOHEADER))
  10. /*
  11. HBITMAP CopyWindowToDIB(HWND hwndTarget);
  12. HBITMAP CopyScreenToBitmap(LPRECT lpRect);
  13. HPALETTE GetSystemPalette(void);
  14. HDIB BitmapToDIB(HBITMAP hBitmap, HPALETTE hPal);
  15. int PalEntriesOnDevice(HDC hDC);
  16. WORD PaletteSize(LPSTR lpDIB);
  17. WORD DIBNumColors(LPSTR lpDIB);
  18. */
  19. void CopyWindowToGIF(HWND hwndTarget);
  20. #endif _INSTCOLL_H_