Re: SEC_COMMIT usefulness in CreateFileMapping API



Yes, that is correct. It does exactly nothing (IMHO).

Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

curious1 wrote:
Thanks Michel for info.

One more thing please: seems like using SEC_COMMIT would not make much difference in strictly memory mapped file (ones that are not backed by file on disk). Is that correct ?

SEC_COMMIT info: http://msdn.microsoft.com/en-us/library/ms923951.aspx

SEC_COMMIT: Allocates physical storage in memory or in the paging file on disk for all pages of a section. This is the default setting.
.



Relevant Pages

  • Re: register dumping
    ... Microsoft Embedded Partner ... Consultancy, training and development services. ... daniel wrote: ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Google Group Search
    ... Microsoft Embedded Partner ... Consultancy, training and development services. ... Michael Reim wrote: ...
    (microsoft.public.windowsce.platbuilder)
  • Re: SDHC Support is not Working in WINCE 5
    ... Check out my blog: http://GuruCE.com/blog ... Microsoft Embedded Partner ... Consultancy, training and development services. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: CE 6.0 tools on 64-bit Windows
    ... Check out my blog: http://GuruCE.com/blog ... Microsoft Embedded Partner ... Consultancy, training and development services. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Cloning WinCE 5.0 component
    ... Microsoft Embedded Partner ... Consultancy, training and development services. ...
    (microsoft.public.windowsce.platbuilder)