source: trunk/include/unicode.h@ 1871

Last change on this file since 1871 was 1871, checked in by bird, 26 years ago

Changed some parameters to const.

File size: 942 bytes
Line 
1/* $Id: unicode.h,v 1.7 1999-11-28 23:23:45 bird Exp $ */
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
11#include <uniconv.h>
12
13#ifdef __cplusplus
14 extern "C" {
15#endif
16
17/* also used from Windows only files ported from WINE */
18#ifndef WIN32API
19#define WIN32API WINAPI
20#endif
21
22char * WIN32API UnicodeToAsciiString(LPCWSTR ustring);
23int WIN32API UnicodeToAscii(LPCWSTR ustring, char *astring);
24int WIN32API UnicodeToAsciiN(LPCWSTR ustring, char *astring, int unilen);
25void WIN32API FreeAsciiString(char *astring);
26LPWSTR WIN32API AsciiToUnicodeString(const char *astring);
27void WIN32API AsciiToUnicode(const char *ascii, LPWSTR unicode);
28void WIN32API AsciiToUnicodeN(const char *ascii, LPWSTR unicode, int asciilen);
29
30#ifdef __cplusplus
31 }
32#endif
33
34#ifdef __cplusplus
35char * WIN32API UnicodeToAsciiStringN(LPCWSTR ustring, ULONG length);
36#endif
37
38#endif
Note: See TracBrowser for help on using the repository browser.