In CBPaintText use the text size as returned by LB_GETTEXT. The size
[wine.git] / server / unicode.h
blobc6b600db5efc57c9408624348dd66d6069807fda
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 #include <stdio.h>
12 #include "windef.h"
13 #include "wine/unicode.h"
14 #include "object.h"
16 static inline WCHAR *strdupW( const WCHAR *str )
18 size_t len = (strlenW(str) + 1) * sizeof(WCHAR);
19 return memdup( str, len );
22 extern int dump_strW( const WCHAR *str, size_t len, FILE *f, char escape[2] );
24 #endif /* __WINE_SERVER_UNICODE_H */