RSC/MP 7.2 Programming Manual
API Function Descriptions
HP NonStop Remote Server Call (RSC/MP) Programming Manual—522360-004
10-21
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.
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 value is zero if the function is successful; otherwise, the function returns
one of these result values:
USHORT FTYPE RscNotifySem
( ULONG ulConnectionHandle /* in */
,ULONG ulSessionHandle /* in */
,USHORT uType /* in */
,ULONG ulSemHandle /* in */
);
RSC_PC_HEAP_EXHAUSTED 22
RSC_INTERNAL_ERROR 102
RSC_NOT_IMPLEMENTED 103
RSC_RESOURCE_FAILURE 104
RSC_PARAMETER_ERROR 105