NT4/private/windows/win4help/winhelp/inc/dib.h
2020-09-30 17:12:29 +02:00

22 lines
672 B
C

#define wUsage DIB_RGB_COLORS
#define PALVERSION 0x300
#define MAXPALETTE 256
#define wcAvgHotspots 100
#define LAlign(l) (LONG)((l + 31) & 0xffe0)
#define LAllocHotspots(c) (LONG)(sizeof (MBHS) + (cbMaxHotspotName + cbMaxBinding * 2)) * c)
typedef struct
{ // These structures are handles for data hiding
HANDLE hbmh; // bitmap header
HANDLE hhsList; // hotspot list
PT ptSize; // Size of bitmap
} BWCS; // Bitmap window create structure
BOOL STDCALL FRenderGraphic (HWND, HDC);
RC STDCALL RcWriteHypergraphic (HWND, LPSTR);
RC STDCALL RcLoadGraphic (HWND, char *, BWCS *);
void STDCALL FreeBitmaps (HWND);