The parameter
cmd represents the text command to send to a process.
procesId is the unique identifier of the process in the system.
If it is 0, there will be used the parameter
procesName that must
contain the client process name.
If
procesId=0 and
procesName is NULL or empty string,
the text command will be sent to the process
D2000 Server.
The parameter
bTransAct determines calling the function -
synchronous (
bTransAct /= 0) or asynchronous (
bTransAct = 0).
For asynchronous command execution, the command is sent to the system as a
request and the function doesn't wait for its completion. For
synchronous command execution, the function waits for its completion.
This allows to test its successful (or unsuccessful) execution.
Pridať komentár