"Aliberti Emanuele" <ea(a)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(a)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