BOOLEAN
ObpCompareSecurityDescriptors(
  IN  PSECURITY_DESCRIPTOR SD1,
  IN  PSECURITY_DESCRIPTOR SD2
  );

Routine Description:

    Performs a byte by byte comparison of two self relative security descriptors
    to determine if they are identical.

Arguments:

    SD1, SD2 - Security descriptors to be compared.

Return Value:

    TRUE - They are the same.

    FALSE - They are different.