CheckWindowThreadDesktop - NtDoc

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

#endif

View code on GitHub

NtDoc

No description available.