| HANDLE __mingw_get_msvcrt_handle(void); |
| static unsigned int last_value = 0; |
| typedef unsigned int (*f_get_output_format)(void); |
| typedef unsigned int (*f_set_output_format)(unsigned int); |
| static int call_set_output_format(unsigned int _Format) |
| sof = (f_set_output_format) GetProcAddress (__mingw_get_msvcrt_handle(), "_set_output_format"); |
| last_value = (*sof)(_Format); |
| static int call_get_output_format(void) |
| sof = (f_get_output_format) GetProcAddress (__mingw_get_msvcrt_handle(), "_get_output_format"); |
| unsigned int __cdecl __mingw_set_output_format(unsigned int _Format) |
| unsigned int l = last_value; |
| probe = call_set_output_format (_Format); |
| unsigned int __cdecl __mingw_get_output_format(void) |
| probe = call_get_output_format (); |