WinAsyncCSV()

The function provides an asynchronous entry point for TRANSFER_MS_DATA only. If an application uses this function for any other verb, the behavior is synchronous.

Syntax

HANDLE WlNAPI WinAsyncCSV(HWND hWnd,
                          long vcb);

Parameters

hWnd
Window handle to receive completion message.
vcb
Pointer to verb control block.

Returned Values

The return value indicates whether the verb request was successful. If the function was successful, the actual return value is an asynchronous task handle. If the function was not successful, Personal Communications returns a 0.

Usage Notes

Upon completion of the asynchronous operation, 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 IParam argument contains the original VCB pointer and can be dereferenced to determine the final return code.

If the function returns successfully, Personal Communications posts a WinAsyncCSV() message to the application when the operation completes or the conversation is canceled.