I'm reading this document , and quote:
This mitigation prevents calls into win32k.sys by blocking a thread from converting itself into a GUI thread
I'm wondering how can I convert a thread to a GUI thread? I couldn't find such a Win32 method to call.
Does anyone know?
A lot of the functions that deals with HWNDs will convert the thread to a UI thread automatically.
IsGUIThread
can be used to query and explicitly convert the current thread.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.