Emanuele Aliberti wrote:
Alex Ionescu wrote:
Thanks, I didn't have time last night ( I
went to bed at 5AM). Do you
mind if I rename this to "nt" ? It's the official name of the DDK
static lib, and would mean that we don't have to have 2 .XML files
for anyone using the library (for the msvc build).
Anyways, I'm going to commit the code now, I have it on my disk.
No problem for me. I didn't even know there was one. What puzzles me
is the ANSI signature for the main function. NT is almost everywhere
Unicode, but in the entry point of a native process...
That's because _wmain didn't really appear until much later. Vista's
nt.lib now implements NtStartupProcess (calls _main) and
NtStartupProcessW (calls _wmain). I didn't implement it yet because I'm
waiting for Thomas's patch to make mingw support _wmain.
Also, speaking of mu-sessions and smss, you might be interested to know
that Vista now has a completely re-designed LPC called ALPC (you can
email me if you want more info), as well as a much more "open" and
public SMSS, now accessible through functions like RtlConnectToSm and
RtlSendMsgToSm. I'm going to guess that some of the features regarding
mu-sessions you've wanted will actually be done right this time:)
Best regards,
Alex Ionescu