mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 12:24:07 +00:00
CreateFileMapping SetLastError(0)s on newly created mappings.
This commit is contained in:
parent
c912749be5
commit
fe14ab6183
|
@ -1080,6 +1080,7 @@ HANDLE WINAPI CreateFileMappingA(
|
|||
CLIENT_SendRequest( REQ_CREATE_MAPPING, -1, 2,
|
||||
&req, sizeof(req),
|
||||
name, name ? strlen(name) + 1 : 0 );
|
||||
SetLastError(0);
|
||||
CLIENT_WaitSimpleReply( &reply, sizeof(reply), NULL );
|
||||
if (reply.handle == -1) return 0;
|
||||
return reply.handle;
|
||||
|
|
Loading…
Reference in a new issue