mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +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 New Issue
Block a user