mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
37ec927536
Define protocol structures in a separate server_protocol.h file. Removed __WINE_SERVER__ checks now that all includes are in the right directory.
23 lines
486 B
C
23 lines
486 B
C
/*
|
|
* 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"
|
|
#include "wine/unicode.h"
|
|
#include "object.h"
|
|
|
|
static inline WCHAR *strdupW( const WCHAR *str )
|
|
{
|
|
size_t len = (strlenW(str) + 1) * sizeof(WCHAR);
|
|
return memdup( str, len );
|
|
}
|
|
|
|
extern int dump_strW( const WCHAR *str, size_t len, FILE *f, char escape[2] );
|
|
|
|
#endif /* __WINE_SERVER_UNICODE_H */
|