HP-UX SNAplus2 CSV Programmer's Guide
Concepts
CSV Entry Points: Windows
Chapter 128
Usage
Before using WinAsyncCSV for the firsttime, the application must usethe
RegisterWindowMessage call to obtain the message identifier that CSV
will use for messages indicating asynchronous verb completion.
RegisterWindowMessage is a standard Windows function call, not
specific to CSV; refer to your Windows documentation for more
information about the function. (There is no need to issue the call again
before subsequent verbs; the returned value will be the same for all calls
issued by the application.)
The application must pass the string “WinAsyncCSV” to the function; the
returned value is a message identifier, as described below.
Each time a verb that was issued using the WinAsyncCSV entry point
completes asynchronously, CSV posts a message to the window handle
specified on the WinAsyncCSV call. The format of the message is as
follows:
• The message identifier is the value returned from the
RegisterWindowMessage call.
• The
lParam
argument contains the address of the VCB that was
supplied to the original WinAsyncCSV call; the application can use
this address to access the returned parameters in the VCB structure.
• The
wParam
argument contains the handle that was returned to the
original WinAsyncCSV call.
WinCSVCleanup
The application uses this function to unregister as a Windows CSV user,
after it has finished issuing verbs.
Function Call
BOOL WINAPI LOADDS WinCSVCleanup (void);
Supplied Parameters
No parameters are supplied for this function.
Returned Values
The return value from the function is one of the following:
TRUE The application was unregistered successfully.