source: trunk/include/unicode.h@ 408

Last change on this file since 408 was 408, checked in by phaller, 26 years ago

Fix: Win3-Style Profile support ported from WINE. Also removes Open32 dependency

File size: 906 bytes
RevLine 
[408]1/* $Id: unicode.h,v 1.5 1999-08-04 00:45:01 phaller Exp $ */
[4]2
3/*
4 *
5 * Project Odin Software License can be found in LICENSE.TXT
6 *
7 */
8#ifndef __UNICODE_H__
9#define __UNICODE_H__
10
[55]11#include <uniconv.h>
[4]12
13#ifdef __cplusplus
14 extern "C" {
15#endif
16
[68]17/* also used from Windows only files ported from WINE */
18#ifndef WIN32API
19#define WIN32API WINAPI
20#endif
21
[408]22char * WIN32API UnicodeToAsciiString(LPWSTR ustring);
23int WIN32API UnicodeToAscii(LPWSTR ustring, char *astring);
24int WIN32API UnicodeToAsciiN(LPWSTR ustring, char *astring, int unilen);
25void WIN32API FreeAsciiString(char *astring);
26LPWSTR WIN32API AsciiToUnicodeString(char *astring);
27void WIN32API AsciiToUnicode(char *ascii, LPWSTR unicode);
28void WIN32API AsciiToUnicodeN(char *ascii, LPWSTR unicode, int asciilen);
[4]29
30#ifdef __cplusplus
31 }
32#endif
33
34#ifdef __cplusplus
35char *UnicodeToAscii(int length, WCHAR *NameString);
36#endif
37
38#endif
Note: See TracBrowser for help on using the repository browser.