Lines Matching refs:ServerHandle

23     SAM_HANDLE ServerHandle;  member
37 SAM_HANDLE ServerHandle; member
296 SAM_HANDLE ServerHandle = NULL; in NetGroupAdd() local
351 &ServerHandle, in NetGroupAdd()
362 Status = OpenAccountDomain(ServerHandle, in NetGroupAdd()
457 if (ServerHandle != NULL) in NetGroupAdd()
458 SamCloseHandle(ServerHandle); in NetGroupAdd()
474 SAM_HANDLE ServerHandle = NULL; in NetGroupAddUser() local
494 &ServerHandle, in NetGroupAddUser()
505 Status = OpenAccountDomain(ServerHandle, in NetGroupAddUser()
573 if (ServerHandle != NULL) in NetGroupAddUser()
574 SamCloseHandle(ServerHandle); in NetGroupAddUser()
588 SAM_HANDLE ServerHandle = NULL; in NetGroupDel() local
604 &ServerHandle, in NetGroupDel()
615 Status = OpenAccountDomain(ServerHandle, in NetGroupDel()
656 if (ServerHandle != NULL) in NetGroupDel()
657 SamCloseHandle(ServerHandle); in NetGroupDel()
673 SAM_HANDLE ServerHandle = NULL; in NetGroupDelUser() local
693 &ServerHandle, in NetGroupDelUser()
704 Status = OpenAccountDomain(ServerHandle, in NetGroupDelUser()
771 if (ServerHandle != NULL) in NetGroupDelUser()
772 SamCloseHandle(ServerHandle); in NetGroupDelUser()
825 &EnumContext->ServerHandle, in NetGroupEnum()
835 Status = OpenAccountDomain(EnumContext->ServerHandle, in NetGroupEnum()
846 Status = OpenBuiltinDomain(EnumContext->ServerHandle, in NetGroupEnum()
992 if (EnumContext->ServerHandle != NULL) in NetGroupEnum()
993 SamCloseHandle(EnumContext->ServerHandle); in NetGroupEnum()
1037 SAM_HANDLE ServerHandle = NULL; in NetGroupGetInfo() local
1056 &ServerHandle, in NetGroupGetInfo()
1067 Status = OpenAccountDomain(ServerHandle, in NetGroupGetInfo()
1119 if (ServerHandle != NULL) in NetGroupGetInfo()
1120 SamCloseHandle(ServerHandle); in NetGroupGetInfo()
1183 &EnumContext->ServerHandle, in NetGroupGetUsers()
1194 Status = OpenAccountDomain(EnumContext->ServerHandle, in NetGroupGetUsers()
1363 if (EnumContext->ServerHandle != NULL) in NetGroupGetUsers()
1364 SamCloseHandle(EnumContext->ServerHandle); in NetGroupGetUsers()
1391 SAM_HANDLE ServerHandle = NULL; in NetGroupSetInfo() local
1413 &ServerHandle, in NetGroupSetInfo()
1424 Status = OpenAccountDomain(ServerHandle, in NetGroupSetInfo()
1626 if (ServerHandle != NULL) in NetGroupSetInfo()
1627 SamCloseHandle(ServerHandle); in NetGroupSetInfo()
1644 SAM_HANDLE ServerHandle = NULL; in NetGroupSetUsers() local
1670 &ServerHandle, in NetGroupSetUsers()
1681 Status = OpenAccountDomain(ServerHandle, in NetGroupSetUsers()
1853 if (ServerHandle != NULL) in NetGroupSetUsers()
1854 SamCloseHandle(ServerHandle); in NetGroupSetUsers()