NT4/private/windows/win4help/winhelp/inc/dib.h

22 lines
672 B
C
Raw Normal View History

2001-01-01 00:00:00 +01:00
#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);