For global classes, GetClassInfo now returns a handle to USER.
[wine] / server / unicode.h
1 /*
2  * Unicode routines for use inside the server
3  *
4  * Copyright (C) 1999 Alexandre Julliard
5  */
6
7 #ifndef __WINE_SERVER_UNICODE_H
8 #define __WINE_SERVER_UNICODE_H
9
10 #include "windef.h"
11 #include "wine/unicode.h"
12 #include "object.h"
13
14 static inline WCHAR *strdupW( const WCHAR *str )
15 {
16     size_t len = (strlenW(str) + 1) * sizeof(WCHAR);
17     return memdup( str, len );
18 }
19
20 extern int dump_strW( const WCHAR *str, size_t len, FILE *f, char escape[2] );
21
22 #endif  /* __WINE_SERVER_UNICODE_H */