HRESULT WFSAsyncGetInfo( hService, dwCategory, lpQueryDetails, dwTimeOut, hWnd, lpRequestID )
Retrieves information from the specified service provider. The asynchronous version of WFSGetInfo.
Parameters HSERVICE hService
Handle to the service provider as returned by WFSOpen or WFSAsyncOpen.
DWORD dwCategory
See WFSGetInfo.
LPVOID lpQueryDetails
See WFSGetInfo.
DWORD dwTimeOut
Number of milliseconds to wait for completion (WFS_INDEFINITE_WAIT to specify a request that will wait until completion).
HWND hWnd
The window handle which is to receive the completion message for this request.
LPREQUESTID lpRequestID
The request identifier for this request (returned parameter).
Mode Asynchronous
Comments See WFSGetInfo. The only difference in the asynchronous version of the function is that the results (query details) returned to the application (in the WFSRESULT data structure) are pointed to by the WFS_GETINFO_COMPLETE message sent to the specified hWnd.
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_GETINFO_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. Any service-specific errors that can be returned are defined in the specifications for each service class.
See also WFSGetInfo, WFSCancelAsyncRequest