TpPostWork - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTTP_H

// winbase:SubmitThreadpoolWork
/**
 * Submits a work object to the thread pool.
 *
 * \param[in,out] Work A pointer to a TP_WORK structure that defines the work object.
 * \sa https://learn.microsoft.com/en-us/windows/win32/api/threadpoolapiset/nf-threadpoolapiset-submitthreadpoolwork
 */
NTSYSAPI
VOID
NTAPI
TpPostWork(
    _Inout_ PTP_WORK Work
    );

#endif

View code on GitHub

NtDoc

Posts a work object to the thread pool. A worker thread calls the work object's callback function.

Related Win32 API

SubmitThreadpoolWork maps directly to this function.

See also