I’ve been unable to figure out what IsGUIThread really does… I’ve even looked at the ReactOS source code, but I can’t figure it out.
Any ideas why you might call it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
IsGUIThreadtells you if the current thread is a GUI thread – that is a thread that is running a message loop.What it actually does is check if the current thread has GUI thread info (see
GetGUIThreadInfoin MSDN.I have never used this function but one possible use I would guess is to allow code to defer slow tasks to a worker thread if the current thread is a GUI thread.