The function gets back a unique identifier to object of Process type (HOBJ) in which a script is interpreted.
Declaration
INT %GetParentProcessHBJ()
Parameters
No parameters.
Description
The return value identifies the process in which the script is interpreted. Function is recommended to use in RPC procedure calling. The function allows to write the script independent from static configuration (typically - a parent of object Event (e.g. SELF.EVH) or variable _FROM_HIP which is not set if the script is opened by action OPENEVENT.
0 komentárov