The RPC_SECURITY_ATTRIBUTES structure represents security attributes that can be set through the Remote Procedure Call Protocol Extensions, as specified in [MS-CMRP] section 2.2.3.2.
typedef struct _RPC_SECURITY_ATTRIBUTES {
DWORD nLength;
RPC_SECURITY_DESCRIPTOR RpcSecurityDescriptor;
BOOLEAN bInheritHandle;
} RPC_SECURITY_ATTRIBUTES,
*PRPC_SECURITY_ATTRIBUTES;
nLength: The length in bytes of the security descriptor.
RpcSecurityDescriptor: The security descriptor that MUST be as specified in RPC_SECURITY_DESCRIPTOR.
bInheritHandle: TRUE if the new process inherits the handle; otherwise, FALSE.