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
e016d2ec
Commit
e016d2ec
authored
Jan 14, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Remove the DIB section hack in WriteFile now that NtWriteFile takes care of it.
parent
d2b217e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
file.c
dlls/kernel32/file.c
+0
-10
No files found.
dlls/kernel32/file.c
View file @
e016d2ec
...
...
@@ -560,16 +560,6 @@ BOOL WINAPI WriteFile( HANDLE hFile, LPCVOID buffer, DWORD bytesToWrite,
status
=
NtWriteFile
(
hFile
,
hEvent
,
NULL
,
cvalue
,
piosb
,
buffer
,
bytesToWrite
,
poffset
,
NULL
);
/* FIXME: NtWriteFile does not always cause page faults, generate them now */
if
(
status
==
STATUS_INVALID_USER_BUFFER
&&
!
IsBadReadPtr
(
buffer
,
bytesToWrite
))
{
status
=
NtWriteFile
(
hFile
,
hEvent
,
NULL
,
cvalue
,
piosb
,
buffer
,
bytesToWrite
,
poffset
,
NULL
);
if
(
status
!=
STATUS_INVALID_USER_BUFFER
)
FIXME
(
"Could not access memory (%p,%d) at first, now OK. Protected by DIBSection code?
\n
"
,
buffer
,
bytesToWrite
);
}
if
(
status
==
STATUS_PENDING
&&
!
overlapped
)
{
WaitForSingleObject
(
hFile
,
INFINITE
);
...
...
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