/reactos/modules/rostests/kmtests/npfs/ |
H A D | NpfsCreate.c | 16 HANDLE ServerHandle; in TestCreateNamedPipe() local 27 ServerHandle = INVALID_HANDLE_VALUE; in TestCreateNamedPipe() 28 Status = NpCreatePipe(&ServerHandle, in TestCreateNamedPipe() 36 if (ServerHandle != NULL && ServerHandle != INVALID_HANDLE_VALUE) in TestCreateNamedPipe() 39 ServerHandle = INVALID_HANDLE_VALUE; in TestCreateNamedPipe() 40 Status = NpCreatePipe(&ServerHandle, in TestCreateNamedPipe() 48 if (ServerHandle != NULL && ServerHandle != INVALID_HANDLE_VALUE) in TestCreateNamedPipe() 51 ServerHandle = INVALID_HANDLE_VALUE; in TestCreateNamedPipe() 52 Status = NpCreatePipe(&ServerHandle, in TestCreateNamedPipe() 60 if (ServerHandle != NULL && ServerHandle != INVALID_HANDLE_VALUE) in TestCreateNamedPipe() [all …]
|
H A D | NpfsConnect.c | 69 IN HANDLE ServerHandle, in CheckListenPipe() argument 73 Context->Listen.ServerHandle = ServerHandle; in CheckListenPipe() 80 IN HANDLE ServerHandle, in TestConnect() argument 148 Status = NpDisconnectPipe(ServerHandle); in TestConnect() 153 Status = NpDisconnectPipe(ServerHandle); in TestConnect() 194 Status = NpDisconnectPipe(ServerHandle); in TestConnect() 246 HANDLE ServerHandle; in RunTest() local 250 ServerHandle = INVALID_HANDLE_VALUE; in RunTest() 251 Status = NpCreatePipe(&ServerHandle, in RunTest() 258 …ok(ServerHandle != NULL && ServerHandle != INVALID_HANDLE_VALUE, "ServerHandle = %p\n", ServerHand… in RunTest() [all …]
|
H A D | NpfsReadWrite.c | 143 IN HANDLE ServerHandle, in CheckListenPipe() argument 147 Context->Listen.ServerHandle = ServerHandle; in CheckListenPipe() 195 HANDLE ServerHandle; in TestReadWrite() local 256 CheckServerQuota(ServerHandle, 0, 1); in TestReadWrite() 303 CheckServerQuota(ServerHandle, 0, 0); in TestReadWrite() 308 CheckServerQuota(ServerHandle, 0, 0); in TestReadWrite() 347 CheckServerQuota(ServerHandle, 0, 1); in TestReadWrite() 348 Status = NpDisconnectPipe(ServerHandle); in TestReadWrite() 453 Status = NpDisconnectPipe(ServerHandle); in TestReadWrite() 519 NpCheckServerPipe(ServerHandle, in TestReadWrite() [all …]
|
H A D | NpfsVolumeInfo.c | 18 IN HANDLE ServerHandle) in TestVolumeInfo() argument 37 Status = ZwQueryVolumeInformationFile(ServerHandle, in TestVolumeInfo() 54 Status = ZwQueryVolumeInformationFile(ServerHandle, in TestVolumeInfo() 71 Status = ZwQueryVolumeInformationFile(ServerHandle, in TestVolumeInfo() 150 HANDLE ServerHandle; in RunTest() local 154 ServerHandle = INVALID_HANDLE_VALUE; in RunTest() 155 Status = NpCreatePipe(&ServerHandle, in RunTest() 162 …ok(ServerHandle != NULL && ServerHandle != INVALID_HANDLE_VALUE, "ServerHandle = %p\n", ServerHand… in RunTest() 163 …if (!skip(NT_SUCCESS(Status) && ServerHandle != NULL && ServerHandle != INVALID_HANDLE_VALUE, "No … in RunTest() 165 TestVolumeInfo(ServerHandle); in RunTest() [all …]
|
H A D | NpfsFileInfo.c | 19 IN HANDLE ServerHandle) in TestFileInfo() argument 30 Status = ZwQueryInformationFile(ServerHandle, in TestFileInfo() 60 Status = ZwQueryInformationFile(ServerHandle, in TestFileInfo() 90 Status = ZwQueryInformationFile(ServerHandle, in TestFileInfo() 127 HANDLE ServerHandle; in RunTest() local 131 ServerHandle = INVALID_HANDLE_VALUE; in RunTest() 132 Status = NpCreatePipe(&ServerHandle, in RunTest() 139 …ok(ServerHandle != NULL && ServerHandle != INVALID_HANDLE_VALUE, "ServerHandle = %p\n", ServerHand… in RunTest() 140 …if (!skip(NT_SUCCESS(Status) && ServerHandle != NULL && ServerHandle != INVALID_HANDLE_VALUE, "No … in RunTest() 142 TestFileInfo(ServerHandle); in RunTest() [all …]
|
H A D | npfs.h | 25 OUT PHANDLE ServerHandle, 41 OUT PHANDLE ServerHandle, 73 #define NpListenPipe(ServerHandle) NpControlPipe(ServerHandle, FSCTL_PIPE_LISTEN, NULL, 0) argument 74 #define NpDisconnectPipe(ServerHandle) NpControlPipe(ServerHandle, FSCTL_PIPE_DISCONNECT, NULL, 0) argument 103 IN HANDLE ServerHandle, 178 HANDLE ServerHandle; member
|
H A D | NpfsHelpers.c | 13 OUT PHANDLE ServerHandle, in NpCreatePipeEx() argument 58 Status = IoCreateFile(ServerHandle, in NpCreatePipeEx() 87 OUT PHANDLE ServerHandle, in NpCreatePipe() argument 114 return NpCreatePipeEx(ServerHandle, in NpCreatePipe() 209 IN HANDLE ServerHandle, in NpControlPipe() argument 218 Status = ZwFsControlFile(ServerHandle, in NpControlPipe() 230 Status = ZwWaitForSingleObject(ServerHandle, in NpControlPipe() 447 IN HANDLE ServerHandle, in NpCheckServerPipe_() argument 473 Status = ZwQueryInformationFile(ServerHandle, in NpCheckServerPipe_() 486 Status = ZwQueryInformationFile(ServerHandle, in NpCheckServerPipe_() [all …]
|
/reactos/dll/win32/netapi32/ |
H A D | display.c | 30 SAM_HANDLE ServerHandle = NULL; in NetQueryDisplayInformation() local 70 &ServerHandle, in NetQueryDisplayInformation() 81 Status = OpenAccountDomain(ServerHandle, in NetQueryDisplayInformation() 115 if (ServerHandle != NULL) in NetQueryDisplayInformation() 116 SamCloseHandle(ServerHandle); in NetQueryDisplayInformation() 131 SAM_HANDLE ServerHandle = NULL; in NetGetDisplayInformationIndex() local 163 &ServerHandle, in NetGetDisplayInformationIndex() 174 Status = OpenAccountDomain(ServerHandle, in NetGetDisplayInformationIndex() 202 if (ServerHandle != NULL) in NetGetDisplayInformationIndex() 203 SamCloseHandle(ServerHandle); in NetGetDisplayInformationIndex()
|
H A D | local_group.c | 34 SAM_HANDLE ServerHandle; member 49 SAM_HANDLE ServerHandle; member 343 SAM_HANDLE ServerHandle = NULL; in NetLocalGroupAdd() local 483 if (ServerHandle != NULL) in NetLocalGroupAdd() 529 SAM_HANDLE ServerHandle = NULL; in NetLocalGroupAddMembers() local 665 if (ServerHandle != NULL) in NetLocalGroupAddMembers() 683 SAM_HANDLE ServerHandle = NULL; in NetLocalGroupDel() local 780 if (ServerHandle != NULL) in NetLocalGroupDel() 962 if (ServerHandle != NULL) in NetLocalGroupDelMembers() 1340 if (ServerHandle != NULL) in NetLocalGroupGetInfo() [all …]
|
H A D | group_new.c | 23 SAM_HANDLE ServerHandle; member 37 SAM_HANDLE ServerHandle; member 296 SAM_HANDLE ServerHandle = NULL; in NetGroupAdd() local 457 if (ServerHandle != NULL) in NetGroupAdd() 474 SAM_HANDLE ServerHandle = NULL; in NetGroupAddUser() local 573 if (ServerHandle != NULL) in NetGroupAddUser() 656 if (ServerHandle != NULL) in NetGroupDel() 771 if (ServerHandle != NULL) in NetGroupDelUser() 1119 if (ServerHandle != NULL) in NetGroupGetInfo() 1626 if (ServerHandle != NULL) in NetGroupSetInfo() [all …]
|
H A D | utils.c | 113 OpenAccountDomain(IN SAM_HANDLE ServerHandle, in OpenAccountDomain() argument 129 Status = SamOpenDomain(ServerHandle, in OpenAccountDomain() 146 OpenBuiltinDomain(IN SAM_HANDLE ServerHandle, in OpenBuiltinDomain() argument 160 Status = SamOpenDomain(ServerHandle, in OpenBuiltinDomain()
|
H A D | user.c | 42 SAM_HANDLE ServerHandle; member 2280 SAM_HANDLE ServerHandle = NULL; in NetUserAdd() local 2375 if (ServerHandle != NULL) in NetUserAdd() 2548 SAM_HANDLE ServerHandle = NULL; in NetUserDel() local 2648 if (ServerHandle != NULL) in NetUserDel() 2992 SAM_HANDLE ServerHandle = NULL; in NetUserGetGroups() local 3122 if (ServerHandle != NULL) in NetUserGetGroups() 3310 if (ServerHandle != NULL) in NetUserGetInfo() 3611 if (ServerHandle != NULL) in NetUserGetLocalGroups() 3931 if (ServerHandle != NULL) in NetUserModalsGet() [all …]
|
H A D | netapi32.h | 46 OpenAccountDomain(IN SAM_HANDLE ServerHandle, 52 OpenBuiltinDomain(IN SAM_HANDLE ServerHandle,
|
/reactos/dll/win32/syssetup/ |
H A D | security.c | 37 SAM_HANDLE ServerHandle = NULL; in SetAccountsDomainSid() local 117 &ServerHandle, in SetAccountsDomainSid() 143 SamCloseHandle(ServerHandle); in SetAccountsDomainSid() 793 SAM_HANDLE ServerHandle = NULL; in ApplyPasswordSettings() local 978 if (ServerHandle != NULL) in ApplyPasswordSettings() 1000 SAM_HANDLE ServerHandle = NULL; in ApplyLockoutSettings() local 1120 if (ServerHandle != NULL) in ApplyLockoutSettings() 1338 SAM_HANDLE ServerHandle = NULL; in ApplyAccountSettings() local 1417 if (ServerHandle != NULL) in ApplyAccountSettings() 1616 SAM_HANDLE ServerHandle = NULL; in SetAdministratorPassword() local [all …]
|
/reactos/dll/win32/lsasrv/ |
H A D | lookup.c | 36 OUT SAMPR_HANDLE *ServerHandle, 45 SamrOpenDomain(IN SAMPR_HANDLE ServerHandle, 1325 SAMPR_HANDLE ServerHandle = NULL; in LsapLookupIsolatedBuiltinNames() local 1405 if (ServerHandle != NULL) in LsapLookupIsolatedBuiltinNames() 1421 SAMPR_HANDLE ServerHandle = NULL; in LsapLookupIsolatedAccountNames() local 1503 if (ServerHandle != NULL) in LsapLookupIsolatedAccountNames() 1627 SAMPR_HANDLE ServerHandle = NULL; in LsapLookupBuiltinNames() local 1708 if (ServerHandle != NULL) in LsapLookupBuiltinNames() 1805 if (ServerHandle != NULL) in LsapLookupAccountNames() 2265 if (ServerHandle != NULL) in LsapLookupBuiltinDomainSids() [all …]
|
H A D | authpackage.c | 130 SAMPR_HANDLE *ServerHandle, 147 SAMPR_HANDLE ServerHandle, 1039 SAMPR_HANDLE ServerHandle = NULL; in LsapAddSamGroups() local 1068 &ServerHandle, in LsapAddSamGroups() 1077 Status = SamrOpenDomain(ServerHandle, in LsapAddSamGroups() 1087 Status = SamrOpenDomain(ServerHandle, in LsapAddSamGroups() 1158 if (ServerHandle != NULL) in LsapAddSamGroups() 1159 SamrCloseHandle(&ServerHandle); in LsapAddSamGroups()
|
/reactos/dll/win32/msv1_0/ |
H A D | sam.c | 253 SAMPR_HANDLE ServerHandle = NULL; in SamValidateNormalUser() local 275 Status = SamIConnect(NULL, &ServerHandle, SAM_SERVER_CONNECT | SAM_SERVER_LOOKUP_DOMAIN, TRUE); in SamValidateNormalUser() 283 Status = SamrOpenDomain(ServerHandle, DOMAIN_LOOKUP, AccountDomainSid, &DomainHandle); in SamValidateNormalUser() 430 if (ServerHandle != NULL) in SamValidateNormalUser() 431 SamrCloseHandle(&ServerHandle); in SamValidateNormalUser()
|
H A D | msv1_0.h | 154 OUT SAMPR_HANDLE *ServerHandle, 191 SamrLookupDomainInSamServer(IN SAMPR_HANDLE ServerHandle, 205 SamrOpenDomain(IN SAMPR_HANDLE ServerHandle,
|
H A D | msv1_0.c | 582 SAMPR_HANDLE ServerHandle = NULL; in MsvpChangePassword() local 656 &ServerHandle, in MsvpChangePassword() 666 Status = SamrLookupDomainInSamServer(ServerHandle, in MsvpChangePassword() 676 Status = SamrOpenDomain(ServerHandle, in MsvpChangePassword() 859 if (ServerHandle != NULL) in MsvpChangePassword() 860 SamrCloseHandle(&ServerHandle); in MsvpChangePassword()
|
/reactos/dll/win32/samlib/ |
H A D | samlib.c | 520 OUT PSAM_HANDLE ServerHandle, in SamConnect() argument 528 ServerName, ServerHandle, DesiredAccess, ObjectAttributes); in SamConnect() 544 (SAMPR_HANDLE *)ServerHandle, in SamConnect() 838 SamEnumerateDomainsInSamServer(IN SAM_HANDLE ServerHandle, in SamEnumerateDomainsInSamServer() argument 1229 SamLookupDomainInSamServer(IN SAM_HANDLE ServerHandle, in SamLookupDomainInSamServer() argument 1236 ServerHandle, Name, DomainId); in SamLookupDomainInSamServer() 1477 SamOpenDomain(IN SAM_HANDLE ServerHandle, in SamOpenDomain() argument 1485 ServerHandle, DesiredAccess, DomainId, DomainHandle); in SamOpenDomain() 1489 Status = SamrOpenDomain((SAMPR_HANDLE)ServerHandle, in SamOpenDomain() 2287 SamShutdownSamServer(IN SAM_HANDLE ServerHandle) in SamShutdownSamServer() argument [all …]
|
/reactos/sdk/include/ddk/ |
H A D | ntsam.h | 779 OUT PSAM_HANDLE ServerHandle, 839 SamEnumerateDomainsInSamServer(IN SAM_HANDLE ServerHandle, 907 SamLookupDomainInSamServer(IN SAM_HANDLE ServerHandle, 936 SamOpenDomain(IN SAM_HANDLE ServerHandle, 1062 SamShutdownSamServer(IN SAM_HANDLE ServerHandle);
|
/reactos/sdk/include/reactos/idl/ |
H A D | sam.idl | 848 [out] SAMPR_HANDLE *ServerHandle, 877 [in] SAMPR_HANDLE ServerHandle); 883 [in] SAMPR_HANDLE ServerHandle, 891 [in] SAMPR_HANDLE ServerHandle, 901 [in] SAMPR_HANDLE ServerHandle, 1339 [out] SAMPR_HANDLE *ServerHandle, 1373 [out] SAMPR_HANDLE *ServerHandle, 1393 [out] SAMPR_HANDLE *ServerHandle);
|
/reactos/dll/win32/samsrv/ |
H A D | samrpc.c | 136 OUT SAMPR_HANDLE *ServerHandle, in SamrConnect() argument 154 ServerHandle); in SamrConnect() 472 ServerHandle); in SamrShutdownSamServer() 520 ServerHandle, Name, DomainId); in SamrLookupDomainInSamServer() 831 SamrOpenDomain(IN SAMPR_HANDLE ServerHandle, in SamrOpenDomain() argument 9382 SAMPR_HANDLE ServerHandle = NULL; in SamrGetDomainPasswordInformation() local 9392 &ServerHandle, in SamrGetDomainPasswordInformation() 9432 if (ServerHandle != NULL) in SamrGetDomainPasswordInformation() 9433 SamrCloseHandle(&ServerHandle); in SamrGetDomainPasswordInformation() 9461 ServerHandle); in SamrConnect2() [all …]
|
H A D | samsrv.c | 66 OUT SAMPR_HANDLE *ServerHandle, in SamIConnect() argument 74 ServerName, ServerHandle, DesiredAccess, Trusted); in SamIConnect() 91 *ServerHandle = (SAMPR_HANDLE)ServerObject; in SamIConnect()
|
/reactos/win32ss/user/winsrv/usersrv/ |
H A D | init.c | 257 UserServerDllInstance = LoadedServerDll->ServerHandle; in CSR_SERVER_DLL_INIT()
|