The IsBlocking method is used to determine if the client is
currently performing a blocking operation.
Parameters
None.
Return Value
If the client is performing a blocking operation, the method
returns a non-zero value. If the client is not performing a blocking
operation, or the client handle is invalid, the method returns
zero.
Remarks
Because a blocking operation can allow the application to be
re-entered (for example, by pressing a button while the operation is
being performed), it is possible that another blocking method may be
called while it is in progress. Since only one thread of execution
may perform a blocking operation at any one time, an error would
occur. The IsBlocking method can be used to determine if the
client is already blocked, and if so, take some other action (such as
warning the user that they must wait for the operation to
complete).
Requirements
Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Import Library: csnwsv10.lib
Unicode: Implemented as Unicode and ANSI versions.
See Also
Cancel,
GetStatus,
IsConnected,
IsInitialized,
IsReadable,
IsWritable, Read,
Write
|