Difference between revisions of "GetProcessInfo"
(introduced this function) |
|||
Line 5: | Line 5: | ||
(Introduced in build 4.0.0.39) | (Introduced in build 4.0.0.39) | ||
− | = GetProcessInfo( item ) = | + | = GetProcessInfo(item) = |
− | Returns information about the current Analytica or ADE process | + | Returns information about the current Analytica or ADE process from the Windows operating system, according to which of these texts you pass as the '''item''' parameter: |
− | |||
− | |||
* "Process ID" -- returns the Process ID, or Pid, for the current process. | * "Process ID" -- returns the Process ID, or Pid, for the current process. | ||
* "Thread ID" -- returns the Id of the Analytica/ADE thread. | * "Thread ID" -- returns the Id of the Analytica/ADE thread. | ||
− | * "Priority" -- returns the priority of the Analytica/ADE thread. The following values are possible (defined by the operating system): | + | * "Priority" -- returns the priority of the Analytica/ADE thread. The following values are possible (defined by the Windows operating system): |
** -15 : Idle only | ** -15 : Idle only | ||
** -2 : lowest priority | ** -2 : lowest priority |
Revision as of 21:58, 24 March 2007
What's new in Analytica 4.0? >
(Introduced in build 4.0.0.39)
GetProcessInfo(item)
Returns information about the current Analytica or ADE process from the Windows operating system, according to which of these texts you pass as the item parameter:
- "Process ID" -- returns the Process ID, or Pid, for the current process.
- "Thread ID" -- returns the Id of the Analytica/ADE thread.
- "Priority" -- returns the priority of the Analytica/ADE thread. The following values are possible (defined by the Windows operating system):
- -15 : Idle only
- -2 : lowest priority
- -1 : below normal
- 0 : normal priority
- 1 : Above normal
- 2 : Highest priority
- 15: Critical priority
- 31: Real-time priority
Comments
Enable comment auto-refresher