Lines Matching defs:PolicyHandle
40 PLSA_HANDLE PolicyHandle /* resultant policy handle */
52 LSA_HANDLE PolicyHandle, /* open policy handle */
60 LSA_HANDLE PolicyHandle, /* open policy handle */
113 LSA_HANDLE PolicyHandle;
126 &PolicyHandle)) != STATUS_SUCCESS)
157 if ((Status = GetPrivilegesOnAccount(PolicyHandle, pSid,
172 LsaClose(PolicyHandle);
222 LSA_HANDLE PolicyHandle;
231 if ((Status = OpenPolicy(NULL, POLICY_ALL_ACCESS, &PolicyHandle))
242 err = LsaNtStatusToWinError(SetPrivilegeOnAccount(PolicyHandle,
245 LsaClose(PolicyHandle);
270 OpenPolicy(LPWSTR ServerName, DWORD DesiredAccess, PLSA_HANDLE PolicyHandle){
292 PolicyHandle));
354 SetPrivilegeOnAccount(LSA_HANDLE PolicyHandle, PSID AccountSid,
364 return (LsaAddAccountRights(PolicyHandle, AccountSid,
367 return (LsaRemoveAccountRights(PolicyHandle, AccountSid,
372 GetPrivilegesOnAccount(LSA_HANDLE PolicyHandle, PSID AccountSid,
382 Status = LsaEnumerateAccountRights(PolicyHandle, AccountSid,