RSC/MP Programming Manual

API Function Descriptions
RscNotifySem [RSCSEM]
RscNotifySem [RSCSEM]
The RscNotifySem function allows the application to request asynchronous notification
of RSC/MP I/O operation completion by specifying a semaphore to be signaled when
an RSC/MP I/O operation completes. This operation could be either a reply to a
nowaited RscWriteRead or receipt of a UMS message.
USHORT FTYPE RscNotifySem
( ULONG ulConnectionHandle /* in */
,ULONG ulSessionHandle /* in */
,USHORT uType /* in */
,ULONG ulSemHandle /* 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.
uType
The type of notification desired; either RSC_NOTIFY_IO or RSC_NOTIFY_UMS.
ulSemHandle
The handle or key of the semaphore.
Return Value
The return va lue is zero if the function is successful; otherwise, the function returns
one of these result va lues:
RSC_PC_HEAP_EXHAUSTED
22
RSC_INTERNAL_ERROR
102
RSC_NOT_IMPLEMENTED
103
RSC_RESOURCE_FAILURE
104
RSC_PARAMETER_ERROR
105
HP NonStop Remote Server Call (RSC/MP) Programming Manual 522360-006
10 - 21