Reimplemented DebugBreakProcess.
[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 <stdio.h>
11
12 #include "windef.h"
13 #include "wine/unicode.h"
14 #include "object.h"
15
16 static inline WCHAR *strdupW( const WCHAR *str )
17 {
18     size_t len = (strlenW(str) + 1) * sizeof(WCHAR);
19     return memdup( str, len );
20 }
21
22 extern int dump_strW( const WCHAR *str, size_t len, FILE *f, char escape[2] );
23
24 #endif  /* __WINE_SERVER_UNICODE_H */