1999-11-23 12:39:11 -07:00
|
|
|
/*
|
|
|
|
* Unicode routines for use inside the server
|
|
|
|
*
|
|
|
|
* Copyright (C) 1999 Alexandre Julliard
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_SERVER_UNICODE_H
|
|
|
|
#define __WINE_SERVER_UNICODE_H
|
|
|
|
|
|
|
|
#include "windef.h"
|
2000-07-25 14:01:59 -07:00
|
|
|
#include "wine/unicode.h"
|
1999-11-25 14:30:24 -07:00
|
|
|
#include "object.h"
|
1999-11-23 12:39:11 -07:00
|
|
|
|
|
|
|
static inline WCHAR *strdupW( const WCHAR *str )
|
|
|
|
{
|
|
|
|
size_t len = (strlenW(str) + 1) * sizeof(WCHAR);
|
|
|
|
return memdup( str, len );
|
|
|
|
}
|
|
|
|
|
1999-11-25 14:30:24 -07:00
|
|
|
extern int dump_strW( const WCHAR *str, size_t len, FILE *f, char escape[2] );
|
|
|
|
|
1999-11-23 12:39:11 -07:00
|
|
|
#endif /* __WINE_SERVER_UNICODE_H */
|