Call()

August 2, 2023

ID ipc_call

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

Retcode Call(Handle handle, const SMsgHdr *msgOut, SMsgHdr *msgIn);

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

Parameters:

  • handle is the client IPC handle of the utilized channel.
  • msgOut is the buffer containing the IPC request.
  • msgIn is the buffer for the IPC response.

Returned value:

  • rcOk means that the exchange of IPC messages was successfully completed.
  • rcInvalidArgument means that the IPC request and/or IPC response has an invalid structure.
  • rcSecurityDisallow means that the Kaspersky Security Module prohibits forwarding of the IPC request or IPC response.
  • rcNotConnected means that the server IPC handle of the channel was not found.

Other return codes are available.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.