Change WSACleanup - wsinfo is a static structure now.
[wine.git] / server / unicode.h
blob2ef1baedec12d6e8fbe1f1d816053d0cc615b8c2
1 /*
2 * Unicode routines for use inside the server
4 * Copyright (C) 1999 Alexandre Julliard
5 */
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
12 #endif
14 #include "windef.h"
15 #include "wine/unicode.h"
16 #include "object.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 */