Group: Security - Library: advapi32
Obtaining a handle to the desktop associated with the calling thread
Accessing LSA Policy object (Local Security Authority)
DWORD GetLengthSid(
PSID pSid
);
DECLARE INTEGER GetLengthSid IN advapi32;
STRING pSid
pSid [in] Pointer to the SID structure whose length is returned.
If the SID structure is valid, the return value is the length, in bytes, of the SID structure.