<div class="content"><p align="right"><a href="https://msdn.microsoft.com/en-us/library/5564065e-3f3d-4481-a385-367cc9b042c4" data-linktype="external">msdn link</a></p><p>The LSAPR_SR_SECURITY_DESCRIPTOR structure is used to
communicate a self-relative <a href="31ca2a31-0be4-4773-bcef-05ad6cd3ccfb#gt_e5213722-75a9-44e7-b026-8e4833f0d350" data-linktype="relative-path">security
descriptor</a>, as specified in <a href="../ms-dtyp/cca27429-5689-4a16-b2b4-9325d93e4ba2" data-linktype="relative-path">[MS-DTYP]</a>
section <a href="../ms-dtyp/7d4dac05-9cef-4563-a058-f108abecce1d" data-linktype="relative-path">2.4.6</a>.</p><dl>
<dd>
<div><pre> typedef struct _LSAPR_SR_SECURITY_DESCRIPTOR {
   [range(0, 262144)] unsigned long Length;
   [size_is(Length)] unsigned char* SecurityDescriptor;
 } LSAPR_SR_SECURITY_DESCRIPTOR,
  *PLSAPR_SR_SECURITY_DESCRIPTOR;
</pre></div>
</dd></dl><p><b>Length:</b>  The count of bytes in
SecurityDescriptor.<a id="Appendix_A_Target_18"></a><a aria-label="Product behavior note 18" href="2a769a08-e023-459f-aebe-4fb3f595c0b7#Appendix_A_18" data-linktype="relative-path">&lt;18&gt;</a></p><p><b>SecurityDescriptor:</b>  The contiguous
buffer containing the self-relative security descriptor. This field MUST
contain the <b>Length</b> number of bytes. If the <b>Length</b> field has a
value other than 0, this field MUST NOT be NULL.</p></div>