|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
OemToCharBuff
The OemToCharBuff function translates a specified number of characters in a string from the
OEM-defined character set into either an ANSI or a wide-character string. (OEM
stands for original equipment manufacturer.) This function supersedes the OemToAnsiBuff function.
BOOL OemToCharBuff(
LPCSTR lpszSrc,
| // pointer to string to translate
| LPTSTR lpszDst,
| // pointer to buffer for translated string
| DWORD cchDstLength
| // size of buffer
| );
|
|
Parameters
lpszSrc
Points to a buffer containing one or more characters from the OEM-defined
character set.
lpszDst
Points to the buffer for the translated string. If the OemToCharBuff function is being used as an ANSI function, the string can be translated in
place by setting the lpszDst parameter to the same address as the lpszSrc parameter. This cannot be done if the OemToCharBuff function is being used as a wide-character function.
cchDstLength
Specifies the number of characters to translate in the buffer identified by
the lpszSrc parameter.
Return Values
The return value is always nonzero.
See Also
CharToOem, CharToOemBuff, OemToChar
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|