HRESULT WFSSetBlockingHook( lpBlockFunc, lppPrevFunc )
Establishes an application-specific blocking routine.
Parameters XFSBLOCKINGHOOK lpBlockFunc
Pointer to the procedure instance address of the blocking routine to be installed.
LPXFSBLOCKINGHOOK lppPrevFunc
Returned pointer to a pointer to the procedure instance of the previously installed blocking routine.
Mode Immediate
Comments When this function is successfully issued by an application, it returns a pointer to the previously installed blocking routine. The application may save this pointer so that it can be restored if desired. If such “nesting” is not required, the application can discard this value and simply use the WFSUnhookBlockingHook function to restore the default routine at any time.
See Section 3.12 for a complete discussion.
Error Codes If the function return is not WFS_SUCCESS, it is one of the following error conditions:
See also WFSUnhookBlockingHook, WFSCancelBlockingCall, WFSIsBlocking