RSC/MP Programming Manual
API Function Descriptions
RscIoCheck [RSCCHK]
RscIoCheck [RSCCHK]
The RscIoCheck function looks for the completion of an outstanding nowaited I/O
issued on the session identified by ulSessionHandle and retrieves the reply if the
operation is complete. Upon successful completion of the function, the field referenced
by puReplySize contains the actual number of characters stored in the buffer
referenced by pvReplyBuffer.
USHORT RscIoCheck
(ULONG ulConnectionHandle /* in */
,ULONG ulSessionHandle /* in */
,SHORT *pnIoHandle /* in / out */
,VOID *pvReplyBuffer /* out */
,USHORT *puReplySize /* in / out */
);
ulConnectionHandle
The handle of an existing connection created through the RscConnect function
call.
ulSessionHandle
The handle of an existing session created through the RscBeginSession function
call.
pnIoHandle
A pointer to the field that contains the handle of the I/O to be checked or the value
RSC_IO_CHECK_ALL. If the constant RSC_IO_CHECK_ALL is specified,
RscIoCheck places the handle of the completed I/O in the field referenced by
pnIoHandle.
pvReplyBuffer
A pointer to the buffer that receives the data from the reply upon successful
completion of RscIoCheck.
puReplySize
A pointer to the field that receives the size of the reply. This field should contain the
size of the buffer referenced by pvReplyBuffer. Upon successful completion of this
function, this field receives the actual number of characters stored in
pvReplyBuffer. This parameter should point to a buffer of the size puReplySize.
HP NonStop Remote Server Call (RSC/MP) Programming Manual — 522360-006
10 - 17