Assorted spelling fixes.
This commit is contained in:
parent
30b089668b
commit
3b140ccb0e
|
@ -3746,27 +3746,27 @@ static void test_QueryInterface(IUnknown *unk)
|
||||||
qi = (void*)0xdeadbeef;
|
qi = (void*)0xdeadbeef;
|
||||||
hres = IUnknown_QueryInterface(unk, &IID_IRunnableObject, (void**)&qi);
|
hres = IUnknown_QueryInterface(unk, &IID_IRunnableObject, (void**)&qi);
|
||||||
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
||||||
ok(qi == NULL, "qirunnable=%p, ezpected NULL\n", qi);
|
ok(qi == NULL, "qirunnable=%p, expected NULL\n", qi);
|
||||||
|
|
||||||
qi = (void*)0xdeadbeef;
|
qi = (void*)0xdeadbeef;
|
||||||
hres = IUnknown_QueryInterface(unk, &IID_IHTMLDOMNode, (void**)&qi);
|
hres = IUnknown_QueryInterface(unk, &IID_IHTMLDOMNode, (void**)&qi);
|
||||||
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
||||||
ok(qi == NULL, "qi=%p, ezpected NULL\n", qi);
|
ok(qi == NULL, "qi=%p, expected NULL\n", qi);
|
||||||
|
|
||||||
qi = (void*)0xdeadbeef;
|
qi = (void*)0xdeadbeef;
|
||||||
hres = IUnknown_QueryInterface(unk, &IID_IHTMLDOMNode2, (void**)&qi);
|
hres = IUnknown_QueryInterface(unk, &IID_IHTMLDOMNode2, (void**)&qi);
|
||||||
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
||||||
ok(qi == NULL, "qi=%p, ezpected NULL\n", qi);
|
ok(qi == NULL, "qi=%p, expected NULL\n", qi);
|
||||||
|
|
||||||
qi = (void*)0xdeadbeef;
|
qi = (void*)0xdeadbeef;
|
||||||
hres = IUnknown_QueryInterface(unk, &IID_IPersistPropertyBag, (void**)&qi);
|
hres = IUnknown_QueryInterface(unk, &IID_IPersistPropertyBag, (void**)&qi);
|
||||||
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
||||||
ok(qi == NULL, "qi=%p, ezpected NULL\n", qi);
|
ok(qi == NULL, "qi=%p, expected NULL\n", qi);
|
||||||
|
|
||||||
qi = (void*)0xdeadbeef;
|
qi = (void*)0xdeadbeef;
|
||||||
hres = IUnknown_QueryInterface(unk, &IID_UndocumentedScriptIface, (void**)&qi);
|
hres = IUnknown_QueryInterface(unk, &IID_UndocumentedScriptIface, (void**)&qi);
|
||||||
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
ok(hres == E_NOINTERFACE, "QueryInterface returned %08x, expected E_NOINTERFACE\n", hres);
|
||||||
ok(qi == NULL, "qi=%p, ezpected NULL\n", qi);
|
ok(qi == NULL, "qi=%p, expected NULL\n", qi);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void init_test(enum load_state_t ls) {
|
static void init_test(enum load_state_t ls) {
|
||||||
|
|
|
@ -368,7 +368,7 @@ static void test_res_protocol(void)
|
||||||
sizeof(buf)/sizeof(buf[0]), &size, 0);
|
sizeof(buf)/sizeof(buf[0]), &size, 0);
|
||||||
ok(hres == E_FAIL, "ParseUrl failed: %08x\n", hres);
|
ok(hres == E_FAIL, "ParseUrl failed: %08x\n", hres);
|
||||||
ok(buf[0] == '?', "buf changed\n");
|
ok(buf[0] == '?', "buf changed\n");
|
||||||
ok(size == 1, "size=%u, ezpected 1\n", size);
|
ok(size == 1, "size=%u, expected 1\n", size);
|
||||||
|
|
||||||
buf[0] = '?';
|
buf[0] = '?';
|
||||||
hres = IInternetProtocolInfo_ParseUrl(protocol_info, blank_url, PARSE_DOMAIN, 0, buf,
|
hres = IInternetProtocolInfo_ParseUrl(protocol_info, blank_url, PARSE_DOMAIN, 0, buf,
|
||||||
|
@ -664,7 +664,7 @@ static void test_about_protocol(void)
|
||||||
sizeof(buf)/sizeof(buf[0]), &size, 0);
|
sizeof(buf)/sizeof(buf[0]), &size, 0);
|
||||||
ok(hres == E_FAIL, "ParseUrl failed: %08x\n", hres);
|
ok(hres == E_FAIL, "ParseUrl failed: %08x\n", hres);
|
||||||
ok(buf[0] == '?', "buf changed\n");
|
ok(buf[0] == '?', "buf changed\n");
|
||||||
ok(size == 1, "size=%u, ezpected 1\n", size);
|
ok(size == 1, "size=%u, expected 1\n", size);
|
||||||
|
|
||||||
buf[0] = '?';
|
buf[0] = '?';
|
||||||
hres = IInternetProtocolInfo_ParseUrl(protocol_info, about_blank_url, PARSE_DOMAIN, 0, buf,
|
hres = IInternetProtocolInfo_ParseUrl(protocol_info, about_blank_url, PARSE_DOMAIN, 0, buf,
|
||||||
|
|
|
@ -199,12 +199,12 @@ static void test_StringFromGUID2(void)
|
||||||
/* Test corner cases for buffer size */
|
/* Test corner cases for buffer size */
|
||||||
len = StringFromGUID2(&CLSID_StdFont,str,50);
|
len = StringFromGUID2(&CLSID_StdFont,str,50);
|
||||||
ok(len == 39, "len: %d (expected 39)\n", len);
|
ok(len == 39, "len: %d (expected 39)\n", len);
|
||||||
ok(!lstrcmpiW(str, wszCLSID_StdFont),"string wan't equal for CLSID_StdFont\n");
|
ok(!lstrcmpiW(str, wszCLSID_StdFont),"string wasn't equal for CLSID_StdFont\n");
|
||||||
|
|
||||||
memset(str,0,sizeof str);
|
memset(str,0,sizeof str);
|
||||||
len = StringFromGUID2(&CLSID_StdFont,str,39);
|
len = StringFromGUID2(&CLSID_StdFont,str,39);
|
||||||
ok(len == 39, "len: %d (expected 39)\n", len);
|
ok(len == 39, "len: %d (expected 39)\n", len);
|
||||||
ok(!lstrcmpiW(str, wszCLSID_StdFont),"string wan't equal for CLSID_StdFont\n");
|
ok(!lstrcmpiW(str, wszCLSID_StdFont),"string wasn't equal for CLSID_StdFont\n");
|
||||||
|
|
||||||
len = StringFromGUID2(&CLSID_StdFont,str,38);
|
len = StringFromGUID2(&CLSID_StdFont,str,38);
|
||||||
ok(len == 0, "len: %d (expected 0)\n", len);
|
ok(len == 0, "len: %d (expected 0)\n", len);
|
||||||
|
|
|
@ -104,7 +104,7 @@ static void test_getroletext(void)
|
||||||
CHAR buff2[100];
|
CHAR buff2[100];
|
||||||
WCHAR buff2W[100];
|
WCHAR buff2W[100];
|
||||||
|
|
||||||
/* NT4 and W2K don't clear the buffer on a non existing role in the A-call */
|
/* NT4 and W2K don't clear the buffer on a nonexistent role in the A-call */
|
||||||
memset(buff2, 0, sizeof(buff2));
|
memset(buff2, 0, sizeof(buff2));
|
||||||
|
|
||||||
ret = GetRoleTextA(role, NULL, 0);
|
ret = GetRoleTextA(role, NULL, 0);
|
||||||
|
@ -118,7 +118,7 @@ static void test_getroletext(void)
|
||||||
ok(ret == lstrlenA(buff2),
|
ok(ret == lstrlenA(buff2),
|
||||||
"GetRoleTextA: returned length doesn't match returned buffer for role %d\n", role);
|
"GetRoleTextA: returned length doesn't match returned buffer for role %d\n", role);
|
||||||
|
|
||||||
/* Win98 and WinMe don't clear the buffer on a non existing role in the W-call */
|
/* Win98 and WinMe don't clear the buffer on a nonexistent role in the W-call */
|
||||||
memset(buff2W, 0, sizeof(buff2W));
|
memset(buff2W, 0, sizeof(buff2W));
|
||||||
|
|
||||||
ret = GetRoleTextW(role, NULL, 0);
|
ret = GetRoleTextW(role, NULL, 0);
|
||||||
|
|
|
@ -1005,7 +1005,7 @@ static HCURSOR CURSORICON_CreateIconFromANI( const LPBYTE bits, DWORD bits_size,
|
||||||
* cursors and then update user32 and winex11.drv to load all frames.
|
* cursors and then update user32 and winex11.drv to load all frames.
|
||||||
*
|
*
|
||||||
* Hopefully this will at least make some games (C&C3, etc.) more playable
|
* Hopefully this will at least make some games (C&C3, etc.) more playable
|
||||||
* in the mean time.
|
* in the meantime.
|
||||||
*/
|
*/
|
||||||
FIXME("Loading all frames for .ani cursors not implemented.\n");
|
FIXME("Loading all frames for .ani cursors not implemented.\n");
|
||||||
icon_data = fram_chunk.data + (2 * sizeof(DWORD));
|
icon_data = fram_chunk.data + (2 * sizeof(DWORD));
|
||||||
|
|
|
@ -164,7 +164,7 @@
|
||||||
#define ACS_AUTOPLAY 0x0004
|
#define ACS_AUTOPLAY 0x0004
|
||||||
#define ACS_TIMER 0x0008
|
#define ACS_TIMER 0x0008
|
||||||
|
|
||||||
/* Month Calender Control */
|
/* Month Calendar Control */
|
||||||
#define MCS_DAYSTATE 0x0001
|
#define MCS_DAYSTATE 0x0001
|
||||||
#define MCS_MULTISELECT 0x0002
|
#define MCS_MULTISELECT 0x0002
|
||||||
#define MCS_WEEKNUMBERS 0x0004
|
#define MCS_WEEKNUMBERS 0x0004
|
||||||
|
|
|
@ -67,7 +67,7 @@ if (!(p)) \
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Allocates memory and convers input from multibyte to wide chars
|
* Allocates memory and converts input from multibyte to wide chars
|
||||||
* Returned string must be freed by the caller
|
* Returned string must be freed by the caller
|
||||||
*/
|
*/
|
||||||
WCHAR* GetWideString(const char* strA)
|
WCHAR* GetWideString(const char* strA)
|
||||||
|
@ -86,7 +86,7 @@ WCHAR* GetWideString(const char* strA)
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Allocates memory and convers input from multibyte to wide chars
|
* Allocates memory and converts input from multibyte to wide chars
|
||||||
* Returned string must be freed by the caller
|
* Returned string must be freed by the caller
|
||||||
*/
|
*/
|
||||||
WCHAR* GetWideStringN(const char* strA, int chars, DWORD *len)
|
WCHAR* GetWideStringN(const char* strA, int chars, DWORD *len)
|
||||||
|
@ -106,7 +106,7 @@ WCHAR* GetWideStringN(const char* strA, int chars, DWORD *len)
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Allocates memory and convers input from wide chars to multibyte
|
* Allocates memory and converts input from wide chars to multibyte
|
||||||
* Returned string must be freed by the caller
|
* Returned string must be freed by the caller
|
||||||
*/
|
*/
|
||||||
char* GetMultiByteString(const WCHAR* strW)
|
char* GetMultiByteString(const WCHAR* strW)
|
||||||
|
@ -125,7 +125,7 @@ char* GetMultiByteString(const WCHAR* strW)
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Allocates memory and convers input from wide chars to multibyte
|
* Allocates memory and converts input from wide chars to multibyte
|
||||||
* Returned string must be freed by the caller
|
* Returned string must be freed by the caller
|
||||||
*/
|
*/
|
||||||
char* GetMultiByteStringN(const WCHAR* strW, int chars, DWORD* len)
|
char* GetMultiByteStringN(const WCHAR* strW, int chars, DWORD* len)
|
||||||
|
|
Loading…
Reference in New Issue