Tbsip_Cancel_Commands function
Cancels all outstanding commands for the specified context.
Syntax
TBS_RESULT Tbsip_Cancel_Commands( _In_ TBS_HCONTEXT hContext );
Parameters
- hContext [in]
-
A TBS handle to the context whose commands are to be canceled and that was obtained from previous call to the Tbsi_Context_Create function.
Return value
If the function succeeds, the function returns TBS_SUCCESS.
If the function fails, it returns a TBS return code that indicates the error.
| Return code/value | Description |
|---|---|
|
The function was successful. |
|
An internal software error occurred. |
|
The specified context handle does not refer to a valid context. |
|
An error occurred while communicating with the TPM. |
Remarks
When a command is canceled, TBS sends a message to the command that indicates that the command was canceled.
Requirements
|
Minimum supported client | Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 10/26/2012
