1 #include <winbase.h> 2 3 #ifndef __LIBMSVCRT__ 4 #error "This file should only be used in libmsvcrt.a" 5 #endif 6 __mingw_get_msvcrt_handle(void)7 static inline HANDLE __mingw_get_msvcrt_handle(void) 8 { 9 return GetModuleHandleW(L"msvcrt.dll"); 10 } 11