24 #define WINE_NOWINSOCK 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);
static int strcmpW(const WCHAR *str1, const WCHAR *str2)
static BOOL(WINAPI *pStrRetToStrNAW)(LPVOID
DWORD WINAPI GetVersion(VOID)
static void test_StrRetToStringNW(void)
static void test_StrRetToStringNA(void)
LPSTR WINAPI lstrcpyA(LPSTR lpString1, LPCSTR lpString2)
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
#define MultiByteToWideChar
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
char * strcpy(char *DstString, const char *SrcString)
#define GetProcAddress(x, y)
static const ITEMIDLIST *static WCHAR * CoDupStrW(const char *src)
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
static unsigned char buff[32768]