Hi!
Maybe you have to define structure like this:
(windemos.inc, line 158)
NASMX_STRUC BITMAPINFOHEADER
NASMX_RESERVE biSize, int32_t, 1
NASMX_RESERVE biWidth, int32_t, 1
NASMX_RESERVE biHeight, int32_t, 1
NASMX_RESERVE biPlanes, short_t, 1
NASMX_RESERVE biBitCount, short_t, 1
NASMX_RESERVE biCompression, int32_t, 1
NASMX_RESERVE biSizeImage, int32_t, 1
NASMX_RESERVE biXPelsPerMeter, int32_t, 1
NASMX_RESERVE biYPelsPerMeter, int32_t, 1
NASMX_RESERVE biClrUsed, int32_t, 1
NASMX_RESERVE biClrImportant, int32_t, 1
NASMX_ENDSTRUC
After that, use like this:
(demo6.inc, line 310)
NASMX_ISTRUC LCDBITMAPINFO, BITMAPINFOHEADER
NASMX_AT biSize, BITMAPINFOHEADER_size ; int32_t, 1
NASMX_AT biWidth, cdXSize ; int32_t, 1
NASMX_AT biHeight, -1*cdYSize ; int32_t, 1
NASMX_AT biPlanes, 1 ; short_t, 1
NASMX_AT biBitCount, 32 ; short_t, 1
NASMX_AT biCompression, 0 ; int32_t, 1
NASMX_AT biSizeImage, 0 ; int32_t, 1
NASMX_AT biXPelsPerMeter, 0 ; int32_t, 1
NASMX_AT biYPelsPerMeter, 0 ; int32_t, 1
NASMX_AT biClrUsed, 0 ; int32_t, 1
NASMX_AT biClrImportant, 0 ; int32_t, 1
NASMX_IENDSTRUC