47 while (*str1 && (*str1 == *str2)) { str1++; str2++; }
53 trace(
"StrRetToStringNAW is Ascii\n");
59 static const WCHAR szTestW[] = {
'T',
'e',
's',
't',
'\0' };
65 trace(
"StrRetToStringNAW is Unicode\n");
72 "STRRET_WSTR: dup failed, ret=%d\n",
ret);
79 "STRRET_CSTR: dup failed, ret=%d\n",
ret);
82 U(strret).uOffset = 1;
83 strcpy((
char*)&iidl,
" Test");
87 "STRRET_OFFSET: dup failed, ret=%d\n",
ret);
#define GetProcAddress(x, y)
#define MultiByteToWideChar
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
static unsigned char buff[32768]
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
LPSTR WINAPI lstrcpyA(LPSTR lpString1, LPCSTR lpString2)
static const ITEMIDLIST *static WCHAR * CoDupStrW(const char *src)
static void test_StrRetToStringNW(void)
static void test_StrRetToStringNA(void)
DWORD WINAPI GetVersion()