WinHLLAPIIsBlocking

Top  Previous  Next

This function tells the calling WinHLLAPI application thread whether it is in the process of executing a blocking call. A blocking call is any synchronous function that takes a long time to execute and does not return until complete. There are five blocking calls in this implementation of WinHLLAPI. The blocking calls are: Get Key (51), Wait (4), Pause (18), Send File (90), and Receive File (91).

 

 

Syntax

 

BOOL WinHLLAPIIsBlocking()

 

 

Returns

 

If the WinHLLAPI application thread is in the middle of a blocking call, the function returns TRUE, otherwise, it returns FALSE.

 

 

Remarks

 

Because the default blocking-hook allows messages to be processed during blocking calls, it is possible to call the blocking call again.