Re: FileMapping (q)
- From
- Alex Fedotov ()
- To
- Yury Haron
- Date
- 2002-04-23T20:14:59Z
- Area
- SU.WINDOWS.NT.PROG
From: "Alex Fedotov" <me@alexfedotov.com>
Yury Haron wrote:
> AF> DuplicateHandle возвpащает ERROR_ACCESS_DENIED.
>
> Не ты ли тyт давеча писал о возможности "повышать" ypовень достyпа
> постpедством Duplicate...? Пpавильно ведь писал, так что пpовеpеpяй
> свой тест.
Ты знаешь, я все-таки надеялся, что ты заглянешь в MSDN, чисто из
любопытства. Но, видимо, ширина расстановки пальцев не позволяет.
Note that the new handle can have more access than the original handle.
However, in some cases DuplicateHandle cannot create a duplicate handle with
more access permission than the original handle. For example, a file handle
created with GENERIC_READ access cannot be duplicated so that it has both
GENERIC_READ and GENERIC_WRITE access.
Не вижу смысла продолжать эту беседу.
-- Alex Fedotov
--- ifmail v.2.15dev5
* Origin: Demos online service (2:5020/400)