Eric Kohl wrote:
"Aliberti Emanuele" ea@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?
- NtpLockVirtualMemory (MmpLockVirtualMemory)
- 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@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