#ifndef _NTUSER_H
// rev
/**
* The CheckWindowThreadDesktop routine validates the desktop of a window's owning thread.
*
* \param WindowHandle Handle to the target window.
* \param ThreadId Identifier of the thread to check.
* \returns LOGICAL Non-zero on success, zero otherwise.
* \remarks Forwards to the NtUserCheckWindowThreadDesktop system call.
*/
NTSYSAPI
LOGICAL
NTAPI
CheckWindowThreadDesktop(
_In_ HWND WindowHandle,
_In_ ULONG ThreadId
);
View code on GitHubNo description available.