HRESULT WFSAsyncUnlock( hService, hWnd, lpRequestID )
Releases a service that has been locked by a previous WFSLock or WFSAsyncLock function. The asynchronous version of WFSUnlock.
Parameters HSERVICE hService
Handle to the service provider as returned by WFSOpen or WFSAsyncOpen.
HWND hWnd
The window handle which is to receive the completion message for this request.
LPREQUESTID lpRequestID
Pointer to the request identifier for this request (returned parameter).
Mode Aynchronous
Comments See WFSUnlock and Section 3.8.
The application must call WFSFreeResult to deallocate the WFSRESULT data structure which is pointed to by the completion message. Note that a WFSRESULT structure may be returned even if the function completes with an error; see Section 3.13.
Messages WFS_UNLOCK_COMPLETE
Error Codes If the function return is not WFS_SUCCESS, it is one of the following error conditions, indicating that the asynchronous operation was not initiated:
The following error conditions are returned via the asynchronous command completion message, as the hResult from the WFSRESULT structure:
See also WFSUnlock, WFSLock, WFSAsyncLock