I would like to use ZwCreateSecion() to map a large file in kernel, and
access it as a mapped file.
Anyone has sample code to demonstrate the process and parameters in each
call ?

Thanks

-Gary

Re: any sample code for kernel file map ? by soviet_bloke

soviet_bloke
Sat Sep 09 12:39:06 CDT 2006


Hi mate

It looks like you trying to get the code from the NG, rather than
writing your own one.....
I am afraid you will never learn anything this way - such approach
can be justified only when the amount of code is really huge, so that
you just want to look at some existing sample. However, it does not
seem to be the case in your situation, does it?????

Try to write a code on your own, and show us the one if you come across
any problems - at this point we will be able to help you


Anton Bassov

Gary Li wrote:
> I would like to use ZwCreateSecion() to map a large file in kernel, and
> access it as a mapped file.
> Anyone has sample code to demonstrate the process and parameters in each
> call ?
>
> Thanks
>
> -Gary