KasperskyOS Community Edition 1.1

Reply()

This function is declared in the coresrv/syscalls.h file.

Retcode Reply(Handle handle, const SMsgHdr *msgOut);

This function sends an IPC response and locks the calling thread until the client receives a response or until an error is received. This function is called by the server process.

Parameters:

  • handle is the server IPC handle of the utilized channel.
  • msgOut is the buffer containing an IPC response.

Returned value:

  • rcOk means that an IPC response was successfully received by the client.
  • rcInvalidArgument means that the IPC response has an invalid structure.
  • rcSecurityDisallow means that IPC response forwarding is prohibited by the Kaspersky Security Module.

Other return codes are available.