天软金融分析.NET函数大全
>
TSL函数
>
资源访问函数
>
进程相关函数
SysPidOfTid
复制链接
简述
获取线程所属进程ID
定义
SysPidOfTid (tid:Integer):Integer;
参数
名称
类型
说明
tid
integer
整数,线程ID
返回值
integer
获取成功,返回进程ID;否则,返回0
范例
范例01:获取当前线程所属进程
tid:=SysThreadId();//获取当前线程ID
ret:=SysPidOfTid(tid);
if ret then
return ret;
else
return "获取线程所属进程ID失败!"
相关
Sleep
SysExec
SysTerminate
SysParamcount
SysParamStr
SysCmdLine
SysProcessID
SysThreadID
SysCreateMutex
SysReleaseMutex
SysWaitForSingleObject
SysWaitForMultipleObjects
SysCloseHandle
SysGetLastError
SysErrorMessage
运行进程的环境变量
SysPutenv
Sysgetenv
SysGetenvs
子进程相关函数
SysexecSetenvs
SysexecGetenvs
SysexecNewpipe
SysexecDeletepipe
SysexecReadpipe
SysExecWritepipe
TslFileName
获取COM进程
TSL解释器对网格计算的支持
SysExec定义二
dbglocalrunning
dbglocalcancel
SysThreadSelf
syslinuxkrnlclosemutex
SysSetThreadPriority
SysGetThreadPriority
SysSetProcessPriority
SysGetProcessPriority
SysGetProcessList
SysGetProcessListw
SysGetProcessNamePath
SysGetProcessNamePathw
SysGetProcessCmdLine
SysGetProcessCmdLinew
SysSetThreadName
SysGetThreadName
SysGetThreads
SysPPid
SysGetSubProcesses
SysKill
SysPidOfTid
SysPidOfHandle
SysHandleOfPid