Getting System Error Code strings?

All development related issues welcome

Moderator: Moderator Team

Post Reply
Scalpel78
Posts: 11
Joined: Fri Jun 29, 2007 7:55 pm
Location: Mjøndalen, Norway

Getting System Error Code strings?

Post by Scalpel78 » Sat Jul 07, 2007 12:03 am

Hi, I'm new to the whole ReactOS space, but have to say I'm mighty impressed as to the state of the system.

I'd like to contribute, and am brushing up on my long-lost C skills by trying to rewrite the shutdown.exe command in ReactOS. As it is now it differs from the Windows version in which arguments it accepts.

I'm calling the ExitWindowsEx() function, and use GetLastError() to print the errorcode. When I look in the MSDN documentation I see that Microsoft have a long list of error codes describing the codes.

Does ReactOS have the same listdefinition somewhere? I'd like to be able to print out the textversion of the error, and not just the errorcode.

Scalpel78

Haos
Test Team
Posts: 2954
Joined: Thu Mar 22, 2007 5:42 am
Contact:

Post by Haos » Sat Jul 07, 2007 2:40 am

As ReactOS is mainly C, ASM and Win32 (with a good portion of NT architecture) all help will be greatly appreaciated. You should visit our irc channel #reactos at freenode.net and speak with the devs (all operators on this channel are devs. Fireball (Alexey) is the project coordinator, so you should talk with him, but rest of us there can answer some of your questions.

Scalpel78
Posts: 11
Joined: Fri Jun 29, 2007 7:55 pm
Location: Mjøndalen, Norway

Post by Scalpel78 » Tue Aug 07, 2007 11:11 pm

Thanks!

I joined the IRC channel, and got all the help I needed there. Now I can boast about having written the current implementation of both shutdown.exe and logoff.exe (and a few other things) which is currently used in ReactOS.

All other newbie developers are encouraged to join the IRC channel and contribute as well!

Looking forward to watching ReactOS become a first-class citizen in the OS community.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests