Hi,
Every process has its own virtual address space (VAS) [1].
Thanks for the detailed explanation and also for the references. I didn't know about Windows Internals, seems like a good book to learn about how Windows works, much appreciated.
Since it has no arguments and is not a "public" exported function it probably does not matter. But yes, using __ASM_STDCALL_FUNC without declaring it as WINAPI is a mismatch. You should be using either __ASM_GLOBAL_FUNC and no WINAPI, or __ASM_STDCALL_FUNC with WINAPI.
I guess if the header doesn't use WINAPI, might as well make it without.
Yeah, I don't think it really matters. But I just want it to be as accurate as possible to the Windows implementation. Thank you for the clarification, I wasn't sure what to do.
I mostly agree and tried here to interpret Dmitry's statement.
I see, yeah, I also agree that it's not necessary.
I've submitted a revision.