Home
last modified time | relevance | path

Searched refs:ServerHandle (Results 1 – 25 of 29) sorted by relevance

12

/reactos/modules/rostests/kmtests/npfs/
H A DNpfsCreate.c16 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 DNpfsConnect.c69 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 DNpfsReadWrite.c143 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 DNpfsVolumeInfo.c18 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 DNpfsFileInfo.c19 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 Dnpfs.h25 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 DNpfsHelpers.c13 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 Ddisplay.c30 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 Dlocal_group.c34 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 Dgroup_new.c23 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 Dutils.c113 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 Duser.c42 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 Dnetapi32.h46 OpenAccountDomain(IN SAM_HANDLE ServerHandle,
52 OpenBuiltinDomain(IN SAM_HANDLE ServerHandle,
/reactos/dll/win32/syssetup/
H A Dsecurity.c37 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 Dlookup.c36 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 Dauthpackage.c130 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 Dsam.c253 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 Dmsv1_0.h154 OUT SAMPR_HANDLE *ServerHandle,
191 SamrLookupDomainInSamServer(IN SAMPR_HANDLE ServerHandle,
205 SamrOpenDomain(IN SAMPR_HANDLE ServerHandle,
H A Dmsv1_0.c582 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 Dsamlib.c520 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 Dntsam.h779 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 Dsam.idl848 [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 Dsamrpc.c136 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 Dsamsrv.c66 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 Dinit.c257 UserServerDllInstance = LoadedServerDll->ServerHandle; in CSR_SERVER_DLL_INIT()

12