BOOL EqualPrefixSid(pSid1, pSid2) | |||
PSID pSid1; | |||
PSID pSid2; |
The EqualPrefixSid function tests two SID prefix values for equality. The SID structures are assumed to be valid.
pSid1
Points to the first SID to compare.
pSid2
Points to the second SID to compare.
The return value is TRUE if the two prefix values are equal, or FALSE if they are not.
An SID prefix is the entire SID except for the last sub-authority value.