Function ntcore_sys::NT_PollRpc
[−]
[src]
pub unsafe extern "C" fn NT_PollRpc(
poller: NT_RpcCallPoller,
len: *mut usize
) -> *mut NT_RpcAnswer
Get the next incoming RPC call. This blocks until the next incoming RPC call is received. This is intended to be used with NT_CreatePolledRpc(void); RPC calls created using NT_CreateRpc() will not be serviced through this function. Upon successful return, NT_PostRpcResponse() must be called to send the return value to the caller. The returned array must be freed using NT_DisposeRpcAnswerArray(). @param poller poller handle @param len length of returned array (output) @return Array of RPC call information. Only returns NULL if an error occurred (e.g. the instance was invalid or is shutting down).