# Function Reference

# _WinAPI_OemToChar

Converts a string from the OEM-defined character set into either an ANSI string

#include <WinAPIConv.au3>
_WinAPI_OemToChar ( $sStr )

## Parameters

$sStr | The string of characters from the OEM-defined character set.

## Return Value

Success: | The converted string.
Failure: | Sets the @error flag to non-zero, call _WinAPI_GetLastError() to get extended error information.

## See Also

Search OemToChar in MSDN Library.