Searched refs:BITMAPFILEHEADER (Results 1 – 7 of 7) sorted by relevance
31 struct __attribute__ ((__packed__)) BITMAPFILEHEADER { struct54 create_file_header(struct BITMAPFILEHEADER *file_header, int32_t image_size) in create_file_header() argument58 file_header->bfSize = htole32(sizeof(struct BITMAPFILEHEADER) + in create_file_header()61 file_header->bfOffBits = htole32(sizeof(struct BITMAPFILEHEADER) + in create_file_header()78 const struct BITMAPFILEHEADER *file_header, in write_bitmap()87 fwrite(file_header, sizeof(struct BITMAPFILEHEADER), 1, fp); in write_bitmap()169 struct BITMAPFILEHEADER file_header = {}; in save_as_bitmap()
29 BITMAPFILEHEADER bfh; in SaveBitmapToFile()104 bfh.bfOffBits = sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER); in SaveBitmapToFile()109 if(!WriteFile(hfile, (void*)&bfh, sizeof(BITMAPFILEHEADER), &bytes_written, NULL) || in SaveBitmapToFile()
143 BITMAPFILEHEADER bmf; in _Present()
394 gdigrab->header_size = sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER) + in gdigrab_read_header()540 BITMAPFILEHEADER bfh; in gdigrab_read_packet()
155 static BITMAPFILEHEADER *pbmfh; in WndProc()