#ifndef _NTPSAPI_H
// rev: RtlAbPostRelease / ReleaseAllUserModeAutoBoostLockHandles
/**
* Input for ThreadUpdateLockOwnership, reconstructed from AMD64 build 26100.9549.
* The input is 16 bytes. The low 32 bits of LockEntryIndex identify the user-mode
* AutoBoost entry to release. Reserved must be zero. The target must be the current
* thread and the handle must grant THREAD_SET_INFORMATION.
*/
typedef struct _THREAD_LOCK_OWNERSHIP
{
union
{
ULONG64 LockEntryIndex;
ULONG SrwLock[1]; // Legacy alias for the low 32 bits of LockEntryIndex.
};
ULONG Reserved;
} THREAD_LOCK_OWNERSHIP, *PTHREAD_LOCK_OWNERSHIP;
View code on GitHubNo description available.