ICancelMethodCalls::TestCancel method
Determines whether a call has been canceled.
Syntax
HRESULT TestCancel();
Parameters
This method has no parameters.
Return value
If the call was canceled, the return value is RPC_E_CALL_CANCELED. Otherwise, it is RPC_S_CALLPENDING.
Remarks
The server object calls TestCancel to determine if the call has been canceled. If the call has been canceled, the server should clean up the necessary resources and return control to the client.
This method can be called from both the client and the server.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_ICancelMethodCalls is defined as 00000029-0000-0000-C000-000000000046 |
See also