Re: Weird problem with DACL and memory mapped file on Vista.
- From: raraks@xxxxxxxxx
- Date: Thu, 29 Nov 2007 08:37:58 -0800 (PST)
On Nov 29, 4:15 am, "Pavel Lebedinsky [MSFT]"
<pa...@xxxxxxxxxxxxxxxxxxxx> wrote:
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.
Dont know how I managed to goof that up ... but good catch,
Thanks a bunch - that fixed it up.
--ks
.
- References:
- Weird problem with DACL and memory mapped file on Vista.
- From: raraks
- Re: Weird problem with DACL and memory mapped file on Vista.
- From: raraks
- Re: Weird problem with DACL and memory mapped file on Vista.
- From: Pavel Lebedinsky [MSFT]
- Weird problem with DACL and memory mapped file on Vista.
- Prev by Date: Re: Weird problem with DACL and memory mapped file on Vista.
- Next by Date: Re: Need to create a Public Key Blob for our Windows CE device, I
- Previous by thread: Re: Weird problem with DACL and memory mapped file on Vista.
- Index(es):
Relevant Pages
|