Home
last modified time | relevance | path

Searched refs:HandleToUlong (Results 1 – 25 of 51) sorted by relevance

123

/reactos/modules/rosapps/applications/sysutils/tlist/
H A Dtlist.c120 if (ALREADY_PROCESSED != HandleToUlong(pInfo->InheritedFromUniqueProcessId)) in ProcessHasDescendants()
161 HandleToUlong(pInfo->UniqueProcessId), in PrintProcessInfoDepth()
162 HandleToUlong(pInfo->InheritedFromUniqueProcessId), in PrintProcessInfoDepth()
186 if (ALREADY_PROCESSED != HandleToUlong(pInfo->InheritedFromUniqueProcessId)) in PrintProcessAndDescendants()
231 HandleToUlong(pInfo->UniqueProcessId), in PrintProcessList()
234 HandleToUlong(pInfo->InheritedFromUniqueProcessId) in PrintProcessList()
239 if (ALREADY_PROCESSED != HandleToUlong(pInfo->InheritedFromUniqueProcessId)) in PrintProcessList()
314 HandleToUlong(CurThread->ClientId.UniqueThread), in PrintThreads()
414 wprintf (L"%4d %s\n", HandleToUlong(ClientId.UniqueProcess), Module); in PrintProcess()
/reactos/win32ss/user/ntuser/
H A Dmain.c75 HandleToUlong(Process->UniqueProcessId)); in AllocW32Process()
80 ppiCurrent, HandleToUlong(Process->UniqueProcessId)); in AllocW32Process()
156 ppiCurrent->W32Pid = HandleToUlong(PsGetProcessId(Process)); in UserProcessCreate()
251 HandleToUlong(Process->UniqueProcessId)); in InitProcessCallback()
297 ppiCurrent, HandleToUlong(Process->UniqueProcessId)); in InitProcessCallback()
390 HandleToUlong(Thread->Cid.UniqueThread)); in AllocW32Thread()
395 ptiCurrent, HandleToUlong(Thread->Cid.UniqueThread)); in AllocW32Thread()
478 HandleToUlong(Thread->Cid.UniqueThread)); in InitThreadCallback()
697 ptiCurrent, HandleToUlong(Thread->Cid.UniqueThread)); in InitThreadCallback()
H A Dsimplecall.c730 HelpId = HandleToUlong(UserGetProp(Window, gpsi->atomContextHelpIdProp, TRUE)); in NtUserCallHwnd()
/reactos/sdk/include/psdk/
H A Dbasetsd.h79 #define HandleToUlong( h ) ((ULONG)(ULONG_PTR)(h) ) macro
95 #define HandleToULong(h) HandleToUlong(h)
134 static inline unsigned long HandleToUlong(const void* h ) in HandleToUlong() function
/reactos/modules/rostests/apitests/imm32/
H A DKLID.c110 return HandleToUlong(hKL); in KLIDFromHKL()
138 ok_long(dwKLID, HandleToUlong(hKL)); in Test_KLID()
/reactos/dll/win32/kernel32/client/
H A Dthread.c350 *lpThreadId = HandleToUlong(ClientId.UniqueThread); in CreateRemoteThread()
461 return HandleToUlong(NtCurrentTeb()->ClientId.UniqueThread); in GetCurrentThreadId()
905 return HandleToUlong(ThreadBasic.ClientId.UniqueProcess); in GetProcessIdOfThread()
929 return HandleToUlong(ThreadBasic.ClientId.UniqueThread); in GetThreadId()
H A Dexcept.c604HandleToUlong(NtCurrentTeb()->ClientId.UniqueProcess), // GetCurrentProcessId() in UnhandledExceptionFilter()
/reactos/dll/win32/msctf/
H A Dmlng.cpp96 return HandleToUlong(hKL); in GetHKLSubstitute()
104 dwKLID = HandleToUlong(hKL); in GetHKLSubstitute()
107 return HandleToUlong(hKL); in GetHKLSubstitute()
/reactos/drivers/network/tcpip/tcpip/
H A Dninfo.c206 TcpRow.dwOwningPid = HandleToUlong(AddrFile->ProcessId); in InfoTdiQueryGetConnectionTcpTable()
293 UdpRow.dwOwningPid = HandleToUlong(AddrFile->ProcessId); in InfoTdiQueryGetConnectionUdpTable()
/reactos/win32ss/user/winsrv/usersrv/
H A Dshutdown.c408 EnumThreadWindows(HandleToUlong(CsrThread->ClientId.UniqueThread), in ThreadShutdownNotify()
615 DWORD ProcessId = HandleToUlong(CsrThread->ClientId.UniqueProcess); in UserExitReactOS()
616 DWORD ThreadId = HandleToUlong(CsrThread->ClientId.UniqueThread); in UserExitReactOS()
/reactos/dll/win32/shell32/wine/
H A Dappbar.c126 command.return_map = HandleToUlong( return_map ); in SHAppBarMessage()
/reactos/drivers/filesystems/udfs/
H A Denv_spec.h152 #define GetCurrentPID() HandleToUlong(PsGetCurrentProcessId())
H A Dfastio.cpp443 NtReqFcb->LazyWriterThreadID = HandleToUlong(PsGetCurrentThreadId()); in UDFAcqLazyWrite()
484 ASSERT((NtReqFcb->LazyWriterThreadID) == HandleToUlong(PsGetCurrentThreadId())); in UDFRelLazyWrite()
/reactos/win32ss/gdi/ntgdi/
H A Dgdiobj.c662 HandleToUlong(PsGetCurrentProcessId())); in GDIOBJ_vDereferenceObject()
951 ulOwner = HandleToUlong(PsGetCurrentProcessId()); in GDIOBJ_hInsertObject()
995 ulNewOwner = HandleToUlong(PsGetCurrentProcessId()); in GDIOBJ_vSetObjectOwner()
1217 if (ulOwner == HandleToUlong(PsGetCurrentProcessId())) in GreGetObjectOwner()
H A Dgdidbg.c428 pLogEntry->dwProcessId = HandleToUlong(PsGetCurrentProcessId()); in DbgLogEvent()
429 pLogEntry->dwThreadId = HandleToUlong(PsGetCurrentThreadId()); in DbgLogEvent()
/reactos/subsystems/win/basesrv/
H A Dproc.c206 ConsoleRecord->ProcessId = HandleToUlong(CreateProcessRequest->ClientId.UniqueProcess); in CSR_API()
/reactos/modules/rosapps/applications/sysutils/ctm/
H A Dctm.c505 if (pPerfDataOld[Idx2].ProcessId == HandleToUlong(pSPI->UniqueProcessId) && in PerfDataRefresh()
529 pPerfData[Idx].ProcessId = HandleToUlong(pSPI->UniqueProcessId); in PerfDataRefresh()
/reactos/dll/win32/oleaut32/
H A Dolepicture.c536 *phandle = HandleToUlong(This->desc.u.bmp.hbitmap); in OLEPictureImpl_get_Handle()
539 *phandle = HandleToUlong(This->desc.u.wmf.hmeta); in OLEPictureImpl_get_Handle()
542 *phandle = HandleToUlong(This->desc.u.icon.hicon); in OLEPictureImpl_get_Handle()
545 *phandle = HandleToUlong(This->desc.u.emf.hemf); in OLEPictureImpl_get_Handle()
569 *phandle = HandleToUlong(This->desc.u.bmp.hpal); in OLEPictureImpl_get_hPal()
815 *phbmpOut = HandleToUlong(This->desc.u.bmp.hbitmap); in OLEPictureImpl_SelectPicture()
/reactos/dll/win32/advapi32/service/
H A Deventlog.c653 RpcClientId.UniqueProcess = HandleToUlong(ClientId.UniqueProcess); in ElfChangeNotify()
654 RpcClientId.UniqueThread = HandleToUlong(ClientId.UniqueThread); in ElfChangeNotify()
658 Status = ElfrChangeNotify(hEventLog, RpcClientId, HandleToUlong(hEvent)); in ElfChangeNotify()
/reactos/dll/win32/kernel32/client/console/
H A Dinit.c244 ConsoleStartInfo->dwHotKey = HandleToUlong(Parameters->StandardInput); in SetUpConsoleInfo()
/reactos/subsystems/csr/csrsrv/
H A Dthredsup.c17 #define CsrHashThread(t) (HandleToUlong(t) % NUMBER_THREAD_HASH_BUCKETS)
H A Dprocsup.c512 CsrProcess->ProcessGroupId = HandleToUlong(ClientId->UniqueProcess); in CsrCreateProcess()
/reactos/dll/win32/oleacc/
H A Dmain.c328 HandleToUlong(mapping), stat.cbSize.u.LowPart); in LresultFromObject()
/reactos/dll/cpl/input/
H A Dinput_list.c345 dwLogicalKLID = dwPhysicalKLID = HandleToUlong(hKL); in InputList_AddInputMethodToUserRegistry()
/reactos/dll/win32/wtsapi32/
H A Dwtsapi32.c190 processInfo->ProcessId = HandleToUlong(spi->UniqueProcessId); in WTSEnumerateProcessesW()

123