NtUserCheckWindowThreadDesktop - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#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
    );

#endif

View code on GitHub

NtDoc

No description available.