Re: Weird problem with DACL and memory mapped file on Vista.
- From: "Pavel Lebedinsky [MSFT]" <pavel@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Nov 2007 04:15:30 -0800
I forgot to mention in the previous post that OpenFileMapping is
called with PAGE_READWRITE (successful !)
The first parameter in OpenFileMapping is an access mask, not a page
protection value. In your case, you should specify FILE_MAP_WRITE |
FILE_MAP_READ.
--
This posting is provided "AS IS" with no warranties, and confers no
rights.
.
- Follow-Ups:
- References:
- Prev by Date: Re: Need to create a Public Key Blob for our Windows CE device, I think
- Next by Date: Re: Weird problem with DACL and memory mapped file on Vista.
- Previous by thread: Re: Weird problem with DACL and memory mapped file on Vista.
- Next by thread: Re: Weird problem with DACL and memory mapped file on Vista.
- Index(es):
Relevant Pages
|