#ifndef _NTPSAPI_H
//
// User processes and threads
//
#if (PHNT_MODE != PHNT_MODE_KERNEL)
// begin_private
typedef struct _PS_ATTRIBUTE_LIST
{
SIZE_T TotalLength;
PS_ATTRIBUTE Attributes[1];
} PS_ATTRIBUTE_LIST, *PPS_ATTRIBUTE_LIST;
View code on GitHub
This structure defines a list of process or thread creation attributes.
TotalLength
- the size of the entire structure in bytes, including the header. To store N
attributes, the value should be sizeof(PS_ATTRIBUTE_LIST) + (N - 1) * sizeof(PS_ATTRIBUTE)
due to the header including one attribute by default.Attributes
- the array of PS_ATTRIBUTE
structures.