1 2 extern HBITMAP ghbmp1, ghbmp4, ghbmp8, ghbmp16, ghbmp24, ghbmp32; 3 extern HBITMAP ghbmpDIB1, ghbmpDIB4, ghbmpDIB8, ghbmpDIB16, ghbmpDIB24, ghbmpDIB32; 4 extern HDC ghdcDIB1, ghdcDIB4, ghdcDIB8, ghdcDIB16, ghdcDIB24, ghdcDIB32; 5 extern PVOID gpvDIB1, gpvDIB4, gpvDIB8, gpvDIB16, gpvDIB24, gpvDIB32; 6 7 extern HBITMAP ghbmpDIB32; 8 //extern PULONG pulDIB32Bits; 9 extern PULONG pulDIB4Bits; 10 extern HPALETTE ghpal; 11 typedef struct 12 { 13 WORD palVersion; 14 WORD palNumEntries; 15 PALETTEENTRY logpalettedata[8]; 16 } MYPAL; 17 18 extern ULONG (*gpDIB32)[8][8]; 19 20 extern MYPAL gpal; 21 22 BOOL InitStuff(void); 23 24