Click or drag to resize

Ansi2OemBuff Function

Convert a specified number of ANSI characters in a source buffer to a buffer of corresponding OEM characters.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION Ansi2OemBuff(
	pszDest AS PSZ,
	pszSource AS PSZ,
	dwCount AS DWORD
) AS PSZ

Parameters

pszDest
Type: PSZ
pszSource
Type: PSZ
dwCount
Type: UInt32

Return Value

Type: PSZ
Remarks
Tip Tip
The PSZ type is included in the X# language and runtime for compatibility only. In most cases the type can and should be replaced with normal strings.
If you need to interface with Win32 API functions that expect an ansi string, there is often also an alternative with a unicode string. We recommend to use that alternative when possible.
See Also