#pragma once
+#include <wine/unicode.h>
+
extern HINSTANCE hwldap32 DECLSPEC_HIDDEN;
ULONG map_error( int ) DECLSPEC_HIDDEN;
return dst;
}
+static inline WCHAR *strdupW( const WCHAR *src )
+{
+ WCHAR *dst;
+
+ if (!src) return NULL;
+ dst = HeapAlloc( GetProcessHeap(), 0, (strlenW( src ) + 1) * sizeof(WCHAR) );
+ if (dst)
+ strcpyW( dst, src );
+ return dst;
+}
+
static inline LPWSTR strAtoW( LPCSTR str )
{
LPWSTR ret = NULL;