Home
last modified time | relevance | path

Searched refs:DuplicateHandle (Results 1 – 25 of 43) sorted by relevance

12

/reactos/base/shell/cmd/
H A Dctty.c194 Success = DuplicateHandle(GetCurrentProcess(), in cmd_ctty()
233 Success = DuplicateHandle(GetCurrentProcess(), in cmd_ctty()
249 Success = DuplicateHandle(GetCurrentProcess(), in cmd_ctty()
266 Success = DuplicateHandle(GetCurrentProcess(), in cmd_ctty()
H A Dredir.c96 !DuplicateHandle(GetCurrentProcess(), in PerformRedirection()
/reactos/modules/rostests/tests/p_dup_handle/
H A Dp_dup_handle.c20 if( !DuplicateHandle( GetCurrentProcess(), in main()
55 if( !DuplicateHandle( GetCurrentProcess(), in main()
/reactos/modules/rosapps/applications/devutils/gdb2/
H A Dgdb2.cpp63 if (!DuplicateHandle(GetCurrentProcess(),hOutputWrite, in main()
78 if (!DuplicateHandle(GetCurrentProcess(),hOutputReadTmp, in main()
85 if (!DuplicateHandle(GetCurrentProcess(),hInputWriteTmp, in main()
/reactos/base/services/seclogon/
H A Drpcserver.c160 DuplicateHandle(GetCurrentProcess(), in SeclCreateProcessWithLogonW()
168 DuplicateHandle(GetCurrentProcess(), in SeclCreateProcessWithLogonW()
/reactos/dll/win32/ws2help/
H A Dapc.c135 if (DuplicateHandle(ProcessHandle, in WahOpenCurrentThread()
/reactos/dll/win32/kernel32/client/
H A Dhandle.c149 DuplicateHandle(IN HANDLE hSourceProcessHandle, in DuplicateHandle() function
/reactos/modules/rostests/winetests/user32/
H A Dwinstation.c136 ok( DuplicateHandle( GetCurrentProcess(), w1, GetCurrentProcess(), (PHANDLE)&w2, 0, in test_handles()
140 ok( DuplicateHandle( GetCurrentProcess(), w1, GetCurrentProcess(), (PHANDLE)&w2, 0, in test_handles()
267 ok( DuplicateHandle( GetCurrentProcess(), d1, GetCurrentProcess(), (PHANDLE)&d2, 0, in test_handles()
271 ok( DuplicateHandle( GetCurrentProcess(), d1, GetCurrentProcess(), (PHANDLE)&d2, 0, in test_handles()
/reactos/base/shell/explorer/
H A Dappbar.cpp252 …if (!DuplicateHandle(return_hproc, UlongToHandle(cmd.return_map), GetCurrentProcess(), &return_map… in appbar_message()
/reactos/sdk/lib/atl/
H A Datlfile.h92 …if (::DuplicateHandle(GetCurrentProcess(), orig.m_hMapping, GetCurrentProcess(), &m_hMapping, 0, T… in CopyFrom()
/reactos/dll/win32/mscoree/
H A Dcordebug.c391 if(!DuplicateHandle(GetCurrentProcess(), lpProcessInformation->hProcess, in CorDebugProcess_Create()
398 if(!DuplicateHandle(GetCurrentProcess(), lpProcessInformation->hThread, in CorDebugProcess_Create()
/reactos/modules/rostests/winetests/kernel32/
H A Dprocess.c1677 ok(DuplicateHandle(GetCurrentProcess(), hChildOut, GetCurrentProcess(), in test_Console()
1683 ok(DuplicateHandle(GetCurrentProcess(), hChildIn, GetCurrentProcess(), in test_Console()
2121 DuplicateHandle( GetCurrentProcess(), handle, GetCurrentProcess(), &h3, in test_Handles()
2275 ret = DuplicateHandle(GetCurrentProcess(), thread, pi.hProcess, &dummy, in test_TerminateProcess()
2299 r = DuplicateHandle(GetCurrentProcess(), GetCurrentProcess(), in test_DuplicateHandle()
2309 r = DuplicateHandle(GetCurrentProcess(), GetCurrentProcess(), in test_DuplicateHandle()
2328 r = DuplicateHandle(GetCurrentProcess(), f, GetCurrentProcess(), &out, in test_DuplicateHandle()
2336 r = DuplicateHandle(GetCurrentProcess(), f, GetCurrentProcess(), &out, in test_DuplicateHandle()
2346 r = DuplicateHandle(GetCurrentProcess(), f, GetCurrentProcess(), &out, in test_DuplicateHandle()
2367 r = DuplicateHandle(GetCurrentProcess(), f, GetCurrentProcess(), &out, in test_DuplicateHandle()
[all …]
/reactos/dll/win32/crypt32/
H A Dfilestore.c267 if (DuplicateHandle(GetCurrentProcess(), (HANDLE)pvPara, in CRYPT_FileOpenStore()
H A Dregstore.c535 if (DuplicateHandle(GetCurrentProcess(), (HANDLE)pvPara, in CRYPT_RegOpenStore()
/reactos/modules/rostests/apitests/cmd/
H A Dfc.c412 return DuplicateHandle(hProcess, hFile, hProcess, phFile, 0, in DoDuplicateHandle()
H A Dcmd.c325 return DuplicateHandle(hProcess, hFile, hProcess, phFile, 0, in MyDuplicateHandle()
/reactos/dll/directx/wine/dplayx/
H A Ddplayx_messages.c70 !DuplicateHandle( GetCurrentProcess(), hNotifyEvent, in CreateLobbyMessageReceptionThread()
H A Ddplobby.c1226 if( ( !DuplicateHandle( GetCurrentProcess(), *lphStart, in DPL_CreateAndSetLobbyHandles()
1229 ( !DuplicateHandle( GetCurrentProcess(), *lphDeath, in DPL_CreateAndSetLobbyHandles()
1232 ( !DuplicateHandle( GetCurrentProcess(), *lphRead, in DPL_CreateAndSetLobbyHandles()
/reactos/modules/rostests/winetests/advapi32/
H A Dsecurity.c3120 ret = DuplicateHandle( GetCurrentProcess(), handle, GetCurrentProcess(), in test_process_security_child()
3128 ret = DuplicateHandle( GetCurrentProcess(), handle, GetCurrentProcess(), in test_process_security_child()
3157 ret = DuplicateHandle( GetCurrentProcess(), handle, GetCurrentProcess(), in test_process_security_child()
5738 ret = DuplicateHandle(GetCurrentProcess(), mutex, GetCurrentProcess(), &dup, in test_mutex_security()
5795 ret = DuplicateHandle(GetCurrentProcess(), event, GetCurrentProcess(), &dup, in test_event_security()
5852 ret = DuplicateHandle(GetCurrentProcess(), sem, GetCurrentProcess(), &dup, in test_semaphore_security()
5935 ret = DuplicateHandle(GetCurrentProcess(), file, GetCurrentProcess(), &dup, in test_named_pipe_security()
6008 ret = DuplicateHandle(GetCurrentProcess(), file, GetCurrentProcess(), &dup, in test_file_security()
6066 ret = DuplicateHandle(GetCurrentProcess(), file, GetCurrentProcess(), &dup, in test_file_security()
6293 ret = DuplicateHandle(GetCurrentProcess(), thread, GetCurrentProcess(), &dup, in test_thread_security()
[all …]
/reactos/modules/rostests/apitests/advapi32/
H A DHKEY_CLASSES_ROOT.c598 …Duplicated = DuplicateHandle(GetCurrentProcess(), KeyHandle, GetCurrentProcess(), (PHANDLE)&DupHan… in Test_DuplicateHandle()
/reactos/sdk/lib/3rdparty/libxml2/
H A Dthreads.c693 DuplicateHandle(GetCurrentProcess(), GetCurrentThread(), in xmlGetGlobalState()
/reactos/dll/win32/oleacc/
H A Dmain.c219 if(!DuplicateHandle(server_proc, server_mapping, GetCurrentProcess(), &mapping, in ObjectFromLresult()
/reactos/dll/win32/wtsapi32/
H A Dwtsapi32.c598 return DuplicateHandle(GetCurrentProcess(), GetCurrentProcessToken(), in WTSQueryUserToken()
/reactos/sdk/include/psdk/
H A Dntsecpkg.h322 PLSA_DUPLICATE_HANDLE DuplicateHandle; member
/reactos/dll/win32/msi/
H A Dcustom.c733 if (DuplicateHandle(process, (HANDLE)(DWORD_PTR)thread64, GetCurrentProcess(), in custom_client_thread()
1660 …if (DuplicateHandle(GetCurrentProcess(), info->handle, GetCurrentProcess(), &wait_handles[handle_c… in ACTION_FinishCustomActions()

12