[ros-dev] Re: [ros-cvs] CVS Update: reactos

Alex Ionescu ionucu at videotron.ca
Fri Oct 29 11:29:01 CEST 2004


Eric Kohl wrote:

>"Aliberti Emanuele" <ea at iol.it> wrote:
>
>  
>
>>Should we define a sort of "best practice" in inserting a little "p"
>>after the subsystem prefix and before the proper function's o
>>structure's name, to mark the *p*rivate symbols, or use the "Internal"
>>suffix?
>>
>>1) NtpLockVirtualMemory (MmpLockVirtualMemory)
>>2) NtLockVirtualMemoryInternal
>>    
>>
>
>I think the function in question should be called MiLockVirtualMemory
>because it is an internal function of the memory manager. And the Nt- and
>Zw-Prefixes are only used for funtions that are exposed via the Int2e
>interface. Therefore, internal Nt- or Zw-Functions do not exist.
>
>Regards,
>Eric
>
>_______________________________________________
>Ros-dev mailing list
>Ros-dev at reactos.com
>http://reactos.com:8080/mailman/listinfo/ros-dev
>
>  
>

Hi Eric,

Very good point, I hadn't even noticed this.
Yes, the correct name would be MiLockVirtualMemory.

Best regards,
Alex Ionescu


More information about the Ros-dev mailing list