InetReceiveRsp2 event (ILEADRasterInet)
void InetReceiveRsp2 (short iComputer, InetCmdType Command, long nCommandID, short nError, short nStatus, ILEADRasterInetPacket Params, long nExtraDataSize, VARIANT ExtraData); | |
Overview |
Refer to Sending Commands and Responses. |
Remarks
(Internet only) Occurs when a computer receives a response from a remote computer.
Note: |
The parameters (Params) and the extra data (ExtraData) for this response are not the parameters of the original command! They are only sent if this response needs to send some data to the computer that originally sent the command. An example of a response that needs to send a parameter back is the response for the CMD_CREATE_WIN command. In this case, the response will need to send back the window handle of the newly created window. Most of the responses will only send back the status of the command (nStatus). |
The string parameters and ExtraData are only valid during this call. Do not free this data and don’t try to keep references to the strings. If the data is needed outside this event, allocate buffers and copy the data into them.
See Also