Lines Matching defs:CPolicy
65 struct CPolicy struct
74 CPolicy(): _handle(NULL) in CPolicy() function
80 ~CPolicy() { Close(); } in ~CPolicy() argument
82 NTSTATUS Open(PLSA_UNICODE_STRING systemName, PLSA_OBJECT_ATTRIBUTES objectAttributes, in Open()
103 NTSTATUS Close() in Close()
127 NTSTATUS EnumerateAccountsWithUserRight(PLSA_UNICODE_STRING userRights, in EnumerateAccountsWithUserRight()
131 NTSTATUS EnumerateAccountRights(PSID sid, PLSA_UNICODE_STRING* userRights, PULONG countOfRights) in EnumerateAccountRights()
134 NTSTATUS LookupSids(ULONG count, PSID* sids, in LookupSids()
138 NTSTATUS AddAccountRights(PSID accountSid, PLSA_UNICODE_STRING userRights, ULONG countOfRights) in AddAccountRights()
156 NTSTATUS AddAccountRights(PSID accountSid, PLSA_UNICODE_STRING userRights) in AddAccountRights()
159 …AccountRights(PSID accountSid, bool allRights, PLSA_UNICODE_STRING userRights, ULONG countOfRights) in RemoveAccountRights()