Skip to content
Snippets Groups Projects
Commit fe14ab61 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard
Browse files

CreateFileMapping SetLastError(0)s on newly created mappings.

parent c912749b
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment