Lines Matching refs:NTSTATUS
57 typedef NTSTATUS (NTAPI *LsaOpenPolicyP)(PLSA_UNICODE_STRING SystemName,
59 typedef NTSTATUS (NTAPI *LsaCloseP)(LSA_HANDLE ObjectHandle);
60 typedef NTSTATUS (NTAPI *LsaAddAccountRightsP)(LSA_HANDLE PolicyHandle,
62 #define MY_STATUS_NOT_IMPLEMENTED ((NTSTATUS)0xC0000002L)
82 NTSTATUS Open(PLSA_UNICODE_STRING systemName, PLSA_OBJECT_ATTRIBUTES objectAttributes, in Open()
103 NTSTATUS Close() in Close()
116 NTSTATUS res = 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 …NTSTATUS RemoveAccountRights(PSID accountSid, bool allRights, PLSA_UNICODE_STRING userRights, ULON… in RemoveAccountRights()