mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
Assorted spelling fixes.
This commit is contained in:
parent
2bb07936ef
commit
b8050f0571
5 changed files with 9 additions and 9 deletions
|
@ -401,9 +401,9 @@ static void test_set_value(void)
|
|||
|
||||
/* test RegSetValueExW with data = 1 */
|
||||
ret = RegSetValueExW(hkey_main, name2W, 0, REG_SZ, (const BYTE *)1, 1);
|
||||
ok(ret == ERROR_NOACCESS, "RegSetValueExW should have failed with with ERROR_NOACCESS: %d, GLE=%d\n", ret, GetLastError());
|
||||
ok(ret == ERROR_NOACCESS, "RegSetValueExW should have failed with ERROR_NOACCESS: %d, GLE=%d\n", ret, GetLastError());
|
||||
ret = RegSetValueExW(hkey_main, name2W, 0, REG_DWORD, (const BYTE *)1, 1);
|
||||
ok(ret == ERROR_NOACCESS, "RegSetValueExW should have failed with with ERROR_NOACCESS: %d, GLE=%d\n", ret, GetLastError());
|
||||
ok(ret == ERROR_NOACCESS, "RegSetValueExW should have failed with ERROR_NOACCESS: %d, GLE=%d\n", ret, GetLastError());
|
||||
}
|
||||
|
||||
static void create_test_entries(void)
|
||||
|
|
|
@ -183,8 +183,8 @@ static void test_capabilities(LPDIRECTINPUT pDI, HWND hwnd)
|
|||
caps.dwSize = sizeof(caps);
|
||||
hr = IDirectInputDevice_GetCapabilities(pKeyboard, &caps);
|
||||
|
||||
ok (SUCCEEDED(hr), "GetCapabilites failed: 0x%08x\n", hr);
|
||||
ok (caps.dwFlags & DIDC_ATTACHED, "GetCapabilites dwFlags: 0x%08x\n", caps.dwFlags);
|
||||
ok (SUCCEEDED(hr), "GetCapabilities failed: 0x%08x\n", hr);
|
||||
ok (caps.dwFlags & DIDC_ATTACHED, "GetCapabilities dwFlags: 0x%08x\n", caps.dwFlags);
|
||||
ok (LOWORD(LOBYTE(caps.dwDevType)) == DIDEVTYPE_KEYBOARD,
|
||||
"GetCapabilities invalid device type for dwDevType: 0x%08x\n", caps.dwDevType);
|
||||
ok (LOWORD(HIBYTE(caps.dwDevType)) != DIDEVTYPEKEYBOARD_UNKNOWN,
|
||||
|
|
|
@ -562,7 +562,7 @@ static const struct encrypt_test encrypt_data[] = {
|
|||
{CALG_DES, 56 << 16, dataToEncrypt3, sizeof(dataToEncrypt3), (BYTE *)dataToEncrypt3,
|
||||
encryptedDES_3},
|
||||
/* CALG_RC2 key unexpected results under Win2K when default key length is used, here we use
|
||||
minimum length because Win2K's DSSENH provider has a differnt default key length compared
|
||||
minimum length because Win2K's DSSENH provider has a different default key length compared
|
||||
to the younger operating systems, though there is no default key len issue with CALG_RC4 */
|
||||
{CALG_RC2, 40 << 16, dataToEncrypt1, sizeof(dataToEncrypt1), (BYTE *)dataToEncrypt1,
|
||||
encryptedRC2_1},
|
||||
|
@ -1192,7 +1192,7 @@ static void test_keyExchange_baseDSS(HCRYPTPROV hProv, const struct keyExchange_
|
|||
|
||||
ok(!memcmp(pbData1, pbData2, dataLen), "Decrypted data is not identical.\n");
|
||||
|
||||
/* Destory all user keys */
|
||||
/* Destroy all user keys */
|
||||
result = CryptDestroyKey(sessionKey1);
|
||||
ok((!result && GetLastError() == ERROR_INVALID_PARAMETER) || broken(result),
|
||||
"Expected ERROR_INVALID_PARAMETER, got %x\n", GetLastError()); /* WinNT4 */
|
||||
|
@ -1317,7 +1317,7 @@ static void test_keyExchange_dssDH(HCRYPTPROV hProv, const struct keyExchange_te
|
|||
|
||||
ok(!memcmp(pbData1, pbData2, dataLen), "Decrypted data is not identical.\n");
|
||||
|
||||
/* Destory all user keys */
|
||||
/* Destroy all user keys */
|
||||
result = CryptDestroyKey(sessionKey1);
|
||||
ok(result, "Failed to destroy session key 1, got %x\n", GetLastError());
|
||||
|
||||
|
|
|
@ -807,7 +807,7 @@ static void test_dvd_read_structure(HANDLE handle)
|
|||
SetLastError(0xdeadbeef);
|
||||
|
||||
/* On newer version, an output buffer of sizeof(DVD_READ_STRUCTURE) size fails.
|
||||
I think this is to force developpers to realize that there is a header before the actual content */
|
||||
I think this is to force developers to realize that there is a header before the actual content */
|
||||
ret = DeviceIoControl(handle, IOCTL_DVD_READ_STRUCTURE, &dvdReadStructure, sizeof(DVD_READ_STRUCTURE),
|
||||
&dvdLayerDescriptor, sizeof(DVD_LAYER_DESCRIPTOR), &nbBytes, NULL);
|
||||
ok( (!ret && GetLastError() == ERROR_INVALID_PARAMETER) || broken(ret) /* < Win7 */,
|
||||
|
|
|
@ -2648,7 +2648,7 @@ static void _SHCreateSymbolicLinks(void)
|
|||
|
||||
/* Create symbolic links for 'My Pictures', 'My Videos' and 'My Music'. */
|
||||
for (i=0; i < sizeof(aidsMyStuff)/sizeof(aidsMyStuff[0]); i++) {
|
||||
/* Create the current 'My Whatever' folder and get it's unix path. */
|
||||
/* Create the current 'My Whatever' folder and get its unix path. */
|
||||
hr = SHGetFolderPathW(NULL, acsidlMyStuff[i]|CSIDL_FLAG_CREATE, NULL,
|
||||
SHGFP_TYPE_DEFAULT, wszTempPath);
|
||||
if (FAILED(hr)) continue;
|
||||
|
|
Loading…
Reference in a new issue