TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
schmintan
NA
64
0
getting canstants from headder files of c++
May 5 2004 5:55 AM
i am writing a program that will allow me to shut down my pc after a specified length of time ( as i listen to my music whale i am falling asleep and want the pc to turn off automatically) . i know there are many ways to do this out there but i wana make my own. im going to use the "ExitWindowsEx function from the Win32 api. there are various constants such as EWX_LOGOFF, EWX_POWEROFF etc that i need to use but i dont know what values are needed in them. can anyone tell me where to get the data contained in theese constants, or how to include a headder file of c++ in c#. hope you all know what i mean. thanks
Reply
Answers (
1
)