#ifndef _NTUSER_H
// rev
/**
* The NtUserCheckWindowThreadDesktop routine verifies that the specified window belongs to the
* desktop of the given thread.
*
* \param WindowHandle Handle to the window to check.
* \param ThreadId Identifier of the thread whose desktop association is compared.
* \returns LOGICAL Non-zero on success, zero otherwise.
*/
_Kernel_entry_
NTSYSCALLAPI
LOGICAL
NTAPI
NtUserCheckWindowThreadDesktop(
_In_ HWND WindowHandle,
_In_ ULONG ThreadId
);
View code on GitHubNo description available.