HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)

Writing CPI-C Applications
CPI-C Call Summary
Chapter 2 73
WinCPICSetBlockingHook() Specifies the blocking procedure that
CPI-C uses while processing blocking calls; this
replaces CPI-C's default blocking procedure. The
blocking procedure is called repeatedly until CPI-C has
finished processing the call.
WinCPICUnhookBlockingHook() Unregisters the blocking procedure
specified by a previous WinCPICSetBlockingHook()
call, so that CPI-C reverts to using the default blocking
procedure.
End of Section Getting Information
The following calls provide information to programs.
Extract_* Calls
The Extract_* calls, listed in Table 2-2, “Extract_* Calls and Actions,
retrieve information about the characteristics of a specified conversation.
Table 2-2 Extract_* Calls and Actions
Call Retrieves
Extract_Conversation_Security_Type
(xcecst)(not available in Java CPI-C)
Security type
Extract_Conversation_State (cmecs) Conversation state
Extract_Conversation_Type (cmect) Conversation type
For Unix
Extract_Conversation_Context (cmectx) Conversation context
Extract_Max_Buffer_Size (cmembs) Maximum size of data buffer used for
Send_Data and Receive calls
Extract_Security_User_ID (cmesui) Security user ID
For Windows
Extract_Conversation_Security_User_ID
(cmecsu)
Security user ID
End of Section