def _get_msvcrt_symbol(symbol):
 from ctypes import cdll, cast, c_void_p
 f = getattr(cdll.msvcrt, symbol)
 return cast(f, c_void_p).value

def _get_msvcrt_symbol ( symbol ) : from ctypes import cdll , cast , c_void_p f = getattr ( cdll . msvcrt , symbol ) return cast ( f , c_void_p ) . value
under windows .