RSC/MP 7.2 Programming Manual

API Function Descriptions
HP NonStop Remote Server Call (RSC/MP) Programming Manual522360-004
10-36
RscUmsCheck [RSCUCHK]
puBufferSize
On input, this field points to the size of pvBuffer. On output, this field points to the
field that receives the size of the unsolicited message. The size corresponds to the
write count of the sender’s Guardian WRITEREAD call.
puIoType
A pointer to the type of call issued to send the unsolicited message.
RSC_UMS_WRITE identifies an unsolicited message issued through a WRITE
call. RSC_UMS_WRITEREAD identifies an unsolicited message issued through a
WRITEREAD call.
puReplyCount
A pointer to the sender’s maximum reply size. The size corresponds to the read
count of the senders Guardian WRITEREAD call.
Return Value
The return value is zero if the function is successful; otherwise, the function returns
one of these result values:
RSC_INVALID_CONNECTION_HANDLE 6
RSC_INVALID_MESSAGE_SIZE 8
RSC_INVALID_REPLY_SIZE 14
RSC_INVALID_SESSION_HANDLE 15
RSC_NO_IO_PENDING 18
RSC_PC_HEAP_EXHAUSTED 22
RSC_REPLY_TRUNCATED 23