Parameters

hAsyncTask
The handle returned by WinHLLAPIAsync() when the function was initiated.
wFunction
The function number of the asynchronous task to cancel. Because this parameter is required for revision 1.1 but not in 1.0, it is optional.

With this function, any asynchronous task previously initiated by a call to WinHLLAPIAsync() may be canceled while still outstanding.