где нет? У меня в MSDN есть. Только раньше она была AnsiToOem, а теперь CharToOem - AnsiToOem is obsolete (+)
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено µ 31 марта 2004 г. 18:11
В ответ на: Ответ: да нет ее. отправлено _VAI 31 марта 2004 г. 18:05

CharToOem
The CharToOem function translates a string into the OEM-defined character set.

BOOL CharToOem(
LPCTSTR lpszSrc, // string to translate
LPSTR lpszDst // translated string
);
Parameters
lpszSrc
[in] Pointer to the null-terminated string to translate.
lpszDst
[out] Pointer to the buffer for the translated string. If the CharToOem 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 CharToOem is being used as a wide-character function.
Return Values
The return value is always nonzero.

Requirements
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Winuser.h; include Windows.h.
Library: Use User32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.

See Also
Strings Overview, String Functions, CharToOemBuff, OemToChar, OemToCharBuff

Составить ответ  |||  Конференция  |||  Архив

Ответы



Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru