Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b8050f05
Commit
b8050f05
authored
Sep 03, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling fixes.
parent
2bb07936
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
registry.c
dlls/advapi32/tests/registry.c
+2
-2
keyboard.c
dlls/dinput/tests/keyboard.c
+2
-2
dssenh.c
dlls/dssenh/tests/dssenh.c
+3
-3
volume.c
dlls/kernel32/tests/volume.c
+1
-1
shellpath.c
dlls/shell32/shellpath.c
+1
-1
No files found.
dlls/advapi32/tests/registry.c
View file @
b8050f05
...
@@ -401,9 +401,9 @@ static void test_set_value(void)
...
@@ -401,9 +401,9 @@ static void test_set_value(void)
/* test RegSetValueExW with data = 1 */
/* test RegSetValueExW with data = 1 */
ret
=
RegSetValueExW
(
hkey_main
,
name2W
,
0
,
REG_SZ
,
(
const
BYTE
*
)
1
,
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
);
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
)
static
void
create_test_entries
(
void
)
...
...
dlls/dinput/tests/keyboard.c
View file @
b8050f05
...
@@ -183,8 +183,8 @@ static void test_capabilities(LPDIRECTINPUT pDI, HWND hwnd)
...
@@ -183,8 +183,8 @@ static void test_capabilities(LPDIRECTINPUT pDI, HWND hwnd)
caps
.
dwSize
=
sizeof
(
caps
);
caps
.
dwSize
=
sizeof
(
caps
);
hr
=
IDirectInputDevice_GetCapabilities
(
pKeyboard
,
&
caps
);
hr
=
IDirectInputDevice_GetCapabilities
(
pKeyboard
,
&
caps
);
ok
(
SUCCEEDED
(
hr
),
"GetCapabilites failed: 0x%08x
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"GetCapabilit
i
es failed: 0x%08x
\n
"
,
hr
);
ok
(
caps
.
dwFlags
&
DIDC_ATTACHED
,
"GetCapabilites dwFlags: 0x%08x
\n
"
,
caps
.
dwFlags
);
ok
(
caps
.
dwFlags
&
DIDC_ATTACHED
,
"GetCapabilit
i
es dwFlags: 0x%08x
\n
"
,
caps
.
dwFlags
);
ok
(
LOWORD
(
LOBYTE
(
caps
.
dwDevType
))
==
DIDEVTYPE_KEYBOARD
,
ok
(
LOWORD
(
LOBYTE
(
caps
.
dwDevType
))
==
DIDEVTYPE_KEYBOARD
,
"GetCapabilities invalid device type for dwDevType: 0x%08x
\n
"
,
caps
.
dwDevType
);
"GetCapabilities invalid device type for dwDevType: 0x%08x
\n
"
,
caps
.
dwDevType
);
ok
(
LOWORD
(
HIBYTE
(
caps
.
dwDevType
))
!=
DIDEVTYPEKEYBOARD_UNKNOWN
,
ok
(
LOWORD
(
HIBYTE
(
caps
.
dwDevType
))
!=
DIDEVTYPEKEYBOARD_UNKNOWN
,
...
...
dlls/dssenh/tests/dssenh.c
View file @
b8050f05
...
@@ -562,7 +562,7 @@ static const struct encrypt_test encrypt_data[] = {
...
@@ -562,7 +562,7 @@ static const struct encrypt_test encrypt_data[] = {
{
CALG_DES
,
56
<<
16
,
dataToEncrypt3
,
sizeof
(
dataToEncrypt3
),
(
BYTE
*
)
dataToEncrypt3
,
{
CALG_DES
,
56
<<
16
,
dataToEncrypt3
,
sizeof
(
dataToEncrypt3
),
(
BYTE
*
)
dataToEncrypt3
,
encryptedDES_3
},
encryptedDES_3
},
/* CALG_RC2 key unexpected results under Win2K when default key length is used, here we use
/* 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 differ
e
nt default key length compared
to the younger operating systems, though there is no default key len issue with CALG_RC4 */
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
,
{
CALG_RC2
,
40
<<
16
,
dataToEncrypt1
,
sizeof
(
dataToEncrypt1
),
(
BYTE
*
)
dataToEncrypt1
,
encryptedRC2_1
},
encryptedRC2_1
},
...
@@ -1192,7 +1192,7 @@ static void test_keyExchange_baseDSS(HCRYPTPROV hProv, const struct keyExchange_
...
@@ -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
"
);
ok
(
!
memcmp
(
pbData1
,
pbData2
,
dataLen
),
"Decrypted data is not identical.
\n
"
);
/* Dest
or
y all user keys */
/* Dest
ro
y all user keys */
result
=
CryptDestroyKey
(
sessionKey1
);
result
=
CryptDestroyKey
(
sessionKey1
);
ok
((
!
result
&&
GetLastError
()
==
ERROR_INVALID_PARAMETER
)
||
broken
(
result
),
ok
((
!
result
&&
GetLastError
()
==
ERROR_INVALID_PARAMETER
)
||
broken
(
result
),
"Expected ERROR_INVALID_PARAMETER, got %x
\n
"
,
GetLastError
());
/* WinNT4 */
"Expected ERROR_INVALID_PARAMETER, got %x
\n
"
,
GetLastError
());
/* WinNT4 */
...
@@ -1317,7 +1317,7 @@ static void test_keyExchange_dssDH(HCRYPTPROV hProv, const struct keyExchange_te
...
@@ -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
"
);
ok
(
!
memcmp
(
pbData1
,
pbData2
,
dataLen
),
"Decrypted data is not identical.
\n
"
);
/* Dest
or
y all user keys */
/* Dest
ro
y all user keys */
result
=
CryptDestroyKey
(
sessionKey1
);
result
=
CryptDestroyKey
(
sessionKey1
);
ok
(
result
,
"Failed to destroy session key 1, got %x
\n
"
,
GetLastError
());
ok
(
result
,
"Failed to destroy session key 1, got %x
\n
"
,
GetLastError
());
...
...
dlls/kernel32/tests/volume.c
View file @
b8050f05
...
@@ -807,7 +807,7 @@ static void test_dvd_read_structure(HANDLE handle)
...
@@ -807,7 +807,7 @@ static void test_dvd_read_structure(HANDLE handle)
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
/* On newer version, an output buffer of sizeof(DVD_READ_STRUCTURE) size fails.
/* On newer version, an output buffer of sizeof(DVD_READ_STRUCTURE) size fails.
I think this is to force develop
p
ers 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
),
ret
=
DeviceIoControl
(
handle
,
IOCTL_DVD_READ_STRUCTURE
,
&
dvdReadStructure
,
sizeof
(
DVD_READ_STRUCTURE
),
&
dvdLayerDescriptor
,
sizeof
(
DVD_LAYER_DESCRIPTOR
),
&
nbBytes
,
NULL
);
&
dvdLayerDescriptor
,
sizeof
(
DVD_LAYER_DESCRIPTOR
),
&
nbBytes
,
NULL
);
ok
(
(
!
ret
&&
GetLastError
()
==
ERROR_INVALID_PARAMETER
)
||
broken
(
ret
)
/* < Win7 */
,
ok
(
(
!
ret
&&
GetLastError
()
==
ERROR_INVALID_PARAMETER
)
||
broken
(
ret
)
/* < Win7 */
,
...
...
dlls/shell32/shellpath.c
View file @
b8050f05
...
@@ -2648,7 +2648,7 @@ static void _SHCreateSymbolicLinks(void)
...
@@ -2648,7 +2648,7 @@ static void _SHCreateSymbolicLinks(void)
/* Create symbolic links for 'My Pictures', 'My Videos' and 'My Music'. */
/* Create symbolic links for 'My Pictures', 'My Videos' and 'My Music'. */
for
(
i
=
0
;
i
<
sizeof
(
aidsMyStuff
)
/
sizeof
(
aidsMyStuff
[
0
]);
i
++
)
{
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
,
hr
=
SHGetFolderPathW
(
NULL
,
acsidlMyStuff
[
i
]
|
CSIDL_FLAG_CREATE
,
NULL
,
SHGFP_TYPE_DEFAULT
,
wszTempPath
);
SHGFP_TYPE_DEFAULT
,
wszTempPath
);
if
(
FAILED
(
hr
))
continue
;
if
(
FAILED
(
hr
))
continue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment