1 2 3 4 5 6 7 8 9
#include <windows.h> struct bh_file_s { bh_io_t base; char *path; int mode; HANDLE handle; };