RSC/MP Programming Manual
API Function Descriptions
RscNotifyThread [RSCNOTH]
RscNotifyThread [RSCNOTH] 
The RscNotifyThread function allows the application to request asynchronous 
notification of RSC/MP I/O operation completion by specifying a Windows message 
that will be posted to the specified thread queue 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 RscNotifyThread
( ULONG ulConnectionHandle  /* in */
,ULONG  ulSessionHandle  /* in */
,USHORT utype  /* in */
,ULONG  ulThreadId  /* in */
,ULONG  ulWinMessage  /* 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. 
ulThreadId 
The thread ID of the thread to receive the notification. 
ulWinMessage 
The Windows message to post. 
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 - 23 










