The SECURITY_ATTRIBUTES_NTMS structure contains the security descriptor for an object.

 typedef struct _SECURITY_ATTRIBUTES_NTMS {
   DWORD nLength;
   [size_is(nDescriptorLength)] byte* lpSecurityDescriptor;
   BOOL bInheritHandle;
   DWORD nDescriptorLength;
 } SECURITY_ATTRIBUTES_NTMS,
  *LPSECURITY_ATTRIBUTES_NTMS;

nLength: The size, in bytes, of the particular instance of the structure containing this field.

lpSecurityDescriptor: A pointer to a security descriptor for the object that controls the sharing of that object. Security descriptors are specified in [MS-DTYP].

bInheritHandle: If set to TRUE, the new process MUST inherit the handle; if set to FALSE, the handle MUST NOT be inherited.

nDescriptorLength: The size, in bytes, of the descriptor.