# Function Reference

# _WinAPI_CharToOem

Converts a string into the OEM-defined character set

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

## Parameters

$sStr | The string that must be converted.

## Return Value

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

## See Also

Search CharToOem in MSDN Library.