2 * Unicode routines for use inside the server
4 * Copyright (C) 1999 Alexandre Julliard
7 #ifndef __WINE_SERVER_UNICODE_H
8 #define __WINE_SERVER_UNICODE_H
10 #ifndef __WINE_SERVER__
11 #error This file can only be used in the Wine server
15 #include "wine/unicode.h"
18 static inline WCHAR *strdupW( const WCHAR *str )
20 size_t len = (strlenW(str) + 1) * sizeof(WCHAR);
21 return memdup( str, len );
24 extern int dump_strW( const WCHAR *str, size_t len, FILE *f, char escape[2] );
26 #endif /* __WINE_SERVER_UNICODE_H */