HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Specify_Windows_Handle (xchwnd)
Chapter 3298
Function Call
void xchwnd (
HWND hwnd,
CM_RETURN_CODE CM_PTR return_code
);
Supplied Parameters
The supplied parameter is:
hwnd
A window handle that CPI-C will use to post a message
indicating that a nonblocking function has completed.
Returned Parameters
After the verb executes, SNAplus2 returns parameters to indicate
whether the execution was successful and, if not, to indicate the reason
the execution was unsuccessful.
return_code
Possible values are:
CM_OK The call executed successfully.
CM_PROGRAM_PARAMETER_CHECK The supplied
parameter was not a valid Windows
handle.
CM_PRODUCT_SPECIFIC_ERROR For an explanation of
this return code, see Appendix A,
“Common Return Codes.”
State When Issued
This call is not associated with a conversation.
State Change
There is no state change associated with this call.
When CPI-C sends a message to indicate that a nonblocking call has
completed, the state change is dependent on the function that completed
and its return code.
End of Section