RSC/MP Programming Manual

API Function Descriptions
RscUmsReply [RSCUREP]
RscUmsReply [RSCUREP]
The RscUmsReply function sends a UMS reply to the sender of the unsolicited
message issued through a WRITEREAD call. Unsolicited messages issued through a
WRITEREAD call are identified by the RSC_UMS_WRITEREAD value referenced by
the puIoType parameter after a successful RscUmsCheck function call.
USHORT RscUmsReply
(ULONG ulConnectionHandle /* in */
,ULONG ulSessionHandle /* in */
,SHORT nIoHandle /* in */
,VOID *pvReplyBuffer /* in */
,USHORT uReplySize /* in */
,SHORT nReplyCode /* in */
);
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.
nIoHandle
The I/O handle of the unsolicited message. This field is retrieved in the
RscUmsCheck function call.
pvReplyBuffer
A pointer to the buffer that contains the reply data.
uReplySize
The size of the buffer referenced by pvReplyBuffer. This va lue should not exceed
the sender‘s maximum reply size referenced by puReplyCount in the
RscUmsCheck function call.
nReplyCode
The value passed back by the sender via a FILEINFO command after the
WRITEREAD call completes. This value is used to set condition codes.
Note. Use codes between 300 and 511 only. The NonStop
TM
host reserves these values
for customer applications.
HP NonStop Remote Server Call (RSC/MP) Programming Manual 522360-006
10 - 37