Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Driver Kit
Reference
 RtlLengthSid

  Switch on low bandwidth view
Windows Driver Kit: Installable File System Drivers
RtlLengthSid

The RtlLengthSid routine returns the length, in bytes, of a valid security identifier (SID).

ULONG
  RtlLengthSid(
    IN PSID  Sid
    ); 

Parameters

Sid
Pointer to the SID structure. Must point to a valid SID.

Return Value

If the SID structure is valid, RtlLengthSid returns the length, in bytes, of the SID structure.

If the SID structure is not valid, the return value is undefined. Before calling RtlLengthSid, pass the SID to RtlValidSid to verify that it is valid.

Comments

For more information about security and access control, see the documentation on these topics in the Microsoft Windows SDK.

Requirements

IRQL: < DISPATCH_LEVEL

Headers: Declared in Ntifs.h. Include Ntifs.h.

See Also

RtlEqualPrefixSid, RtlEqualSid, RtlInitializeSid, RtlLengthRequiredSid, RtlSubAuthoritySid, RtlValidSid, SID


Send feedback on this topic
Built on May 20, 2009
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker