19#define WIN32_NO_STATUS
21#define NONAMELESSUNION
22#define NONAMELESSSTRUCT
30#include <wine/unicode.h>
48 return "STRRET_OFFSET";
74 FIXME(
"unknown type %u!\n",
src->uType);
108 FIXME(
"unknown type %u!\n",
src->uType);
141 TRACE(
"(%p, %p %s)\n",
142 lpWideCharStr, lpMultiByteString,
debugstr_a(lpMultiByteString));
149 TRACE(
"(%p, %p %s)\n",
150 lpWideCharStr, lpWString,
debugstr_w(lpWString));
152 strcpyW (lpWideCharStr, lpWString );
175 TRACE(
"(%p, %x, %s, %x)\n", lpWide, nWide,
debugstr_wn(lpStrW, nStr), nStr);
234 if (!
string || !
string[0])
263 s = &
string[
size - 1];
264 d = &
string[
size + 2];
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
void shell(int argc, const char *argv[])
static __inline const char * debugstr_an(const char *s, int n)
#define WideCharToMultiByte
#define MultiByteToWideChar
LPWSTR WINAPI StrPBrkW(LPCWSTR lpszStr, LPCWSTR lpszMatch)
DWORD WINAPI SHAnsiToUnicode(LPCSTR lpSrcStr, LPWSTR lpDstStr, int iLen)
INT WINAPI SHUnicodeToAnsi(LPCWSTR lpSrcStr, LPSTR lpDstStr, INT iLen)
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
HLOCAL NTAPI LocalFree(HLOCAL hMem)
VOID WINAPI CoTaskMemFree(LPVOID ptr)
static __inline BOOL SHELL_OsIsUnicode(void)
BOOL WINAPI StrRetToStrNW(LPWSTR dest, DWORD len, LPSTRRET src, const ITEMIDLIST *pidl)
BOOL WINAPI StrRetToStrNA(LPSTR dest, DWORD len, LPSTRRET src, const ITEMIDLIST *pidl)
BOOL WINAPI StrToOleStrAW(LPWSTR lpWideCharStr, LPCVOID lpString)
static BOOL OleStrToStrNW(LPWSTR lpwStr, INT nwStr, LPCWSTR lpOle, INT nOle)
static const char * debugstr_strret(STRRET *s)
static int StrToOleStrW(LPWSTR lpWideCharStr, LPCWSTR lpWString)
BOOL WINAPI OleStrToStrNAW(LPVOID lpOut, INT nOut, LPCVOID lpIn, INT nIn)
VOID WINAPI CheckEscapesW(LPWSTR string, DWORD len)
VOID WINAPI CheckEscapesA(LPSTR string, DWORD len)
static BOOL StrToOleStrNW(LPWSTR lpWide, INT nWide, LPCWSTR lpStrW, INT nStr)
BOOL WINAPI StrToOleStrNAW(LPWSTR lpWide, INT nWide, LPCVOID lpStr, INT nStr)
BOOL WINAPI StrRetToStrNAW(LPVOID dest, DWORD len, LPSTRRET src, const ITEMIDLIST *pidl)
static BOOL StrToOleStrNA(LPWSTR lpWide, INT nWide, LPCSTR lpStrA, INT nStr)
static int StrToOleStrA(LPWSTR lpWideCharStr, LPCSTR lpMultiByteString)
static BOOL OleStrToStrNA(LPSTR lpStr, INT nStr, LPCWSTR lpOle, INT nOle)