typedef struct _SID_AND_ATTRIBUTES
{
    void *Sid;
    unsigned long Attributes;
} SID_AND_ATTRIBUTES, *PSID_AND_ATTRIBUTES;