#ifndef _NTPSAPI_H
//
// User processes and threads
//
#if (PHNT_MODE != PHNT_MODE_KERNEL)
// begin_rev
#define PS_ATTRIBUTE_CLIENT_ID \
PsAttributeValue(PsAttributeClientId, TRUE, FALSE, FALSE)
View code on GitHub
This attribute allows the caller to request the client ID of the new thread to be returned upon its creation.
Attribute
- PS_ATTRIBUTE_CLIENT_ID
(numeric value 0x10003
).Size
- sizeof(CLIENT_ID)
.ValuePtr
- a pointer to a CLIENT_ID
buffer that receives the ID of the new thread.