Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
58665f08
Commit
58665f08
authored
Mar 07, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Mar 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
users32/tests: Win9x doesn't like FILE_ALL_ACCESS.
parent
a85c7594
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
cursoricon.c
dlls/user32/tests/cursoricon.c
+1
-1
listbox.c
dlls/user32/tests/listbox.c
+2
-2
No files found.
dlls/user32/tests/cursoricon.c
View file @
58665f08
...
@@ -626,7 +626,7 @@ static void test_LoadImage(void)
...
@@ -626,7 +626,7 @@ static void test_LoadImage(void)
icon_header
->
biSizeImage
=
0
;
/* Uncompressed bitmap. */
icon_header
->
biSizeImage
=
0
;
/* Uncompressed bitmap. */
/* Create the icon. */
/* Create the icon. */
handle
=
CreateFileA
(
"icon.ico"
,
FILE_ALL_ACCESS
,
0
,
NULL
,
CREATE_NEW
,
handle
=
CreateFileA
(
"icon.ico"
,
GENERIC_READ
|
GENERIC_WRITE
,
0
,
NULL
,
CREATE_NEW
,
FILE_ATTRIBUTE_NORMAL
,
NULL
);
FILE_ATTRIBUTE_NORMAL
,
NULL
);
ok
(
handle
!=
INVALID_HANDLE_VALUE
,
"CreateFileA failed. %u
\n
"
,
GetLastError
());
ok
(
handle
!=
INVALID_HANDLE_VALUE
,
"CreateFileA failed. %u
\n
"
,
GetLastError
());
ret
=
WriteFile
(
handle
,
icon_data
,
ICON_SIZE
,
&
bytes_written
,
NULL
);
ret
=
WriteFile
(
handle
,
icon_data
,
ICON_SIZE
,
&
bytes_written
,
NULL
);
...
...
dlls/user32/tests/listbox.c
View file @
58665f08
...
@@ -561,7 +561,7 @@ static void test_listbox_LB_DIR()
...
@@ -561,7 +561,7 @@ static void test_listbox_LB_DIR()
char
driveletter
;
char
driveletter
;
HANDLE
file
;
HANDLE
file
;
file
=
CreateFileA
(
"wtest1.tmp.c"
,
FILE_ALL_ACCESS
,
0
,
NULL
,
CREATE_NEW
,
FILE_ATTRIBUTE_NORMAL
,
NULL
);
file
=
CreateFileA
(
"wtest1.tmp.c"
,
GENERIC_READ
|
GENERIC_WRITE
,
0
,
NULL
,
CREATE_NEW
,
FILE_ATTRIBUTE_NORMAL
,
NULL
);
ok
(
file
!=
INVALID_HANDLE_VALUE
,
"Error creating the test file: %d
\n
"
,
GetLastError
());
ok
(
file
!=
INVALID_HANDLE_VALUE
,
"Error creating the test file: %d
\n
"
,
GetLastError
());
CloseHandle
(
file
);
CloseHandle
(
file
);
...
@@ -1054,7 +1054,7 @@ static void test_listbox_dlgdir(void)
...
@@ -1054,7 +1054,7 @@ static void test_listbox_dlgdir(void)
char
driveletter
;
char
driveletter
;
HANDLE
file
;
HANDLE
file
;
file
=
CreateFileA
(
"wtest1.tmp.c"
,
FILE_ALL_ACCESS
,
0
,
NULL
,
CREATE_NEW
,
FILE_ATTRIBUTE_NORMAL
,
NULL
);
file
=
CreateFileA
(
"wtest1.tmp.c"
,
GENERIC_READ
|
GENERIC_WRITE
,
0
,
NULL
,
CREATE_NEW
,
FILE_ATTRIBUTE_NORMAL
,
NULL
);
ok
(
file
!=
INVALID_HANDLE_VALUE
,
"Error creating the test file: %d
\n
"
,
GetLastError
());
ok
(
file
!=
INVALID_HANDLE_VALUE
,
"Error creating the test file: %d
\n
"
,
GetLastError
());
CloseHandle
(
file
);
CloseHandle
(
file
);
...
...
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