WinAsyncCSV

The WinAsyncCSV function provides an asynchronous entry point for TRANSFER_MS_DATA only. If this function is used for any other verb, the behavior will be synchronous. Use this function instead of the blocking version of the verb if you run your application under Microsoft® Windows® version 3.x.

HANDLE WINAPI WinAsyncCSV(
HWND
hWnd,
long lpVcb
);

Parameters

hWnd
Handle of window to receive message.
lpVcb
Pointer to the verb control block.

Return Values

The return value specifies whether the asynchronous resolution request was successful. If the function was successful, the return value is an asynchronous task handle. If the function was not successful, a zero is returned.

Remarks

When the asynchronous operation is complete, the application's window hWnd receives the message returned by RegisterWindowMessage with "WinAsyncCSV" as the input string. The wParam argument contains the asynchronous task handle returned by the original function call. The lParam argument contains the original VCB pointer and can be dereferenced to determine the final return code.

If the function returns successfully, a "WinAsyncCSV" message will be posted to the application when the operation completes or the conversation is canceled.