TpReleaseWork - NtDoc

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

// winbase:CloseThreadpoolWork
/**
 * Closes the specified work object.
 *
 * \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-closethreadpoolwork
 */
NTSYSAPI
VOID
NTAPI
TpReleaseWork(
    _Inout_ PTP_WORK Work
    );

#endif

View code on GitHub

NtDoc

Releases the specified work object.

Related Win32 API

CloseThreadpoolWork maps directly to this function.

See also