Skip to content

Latest commit

 

History

History
113 lines (96 loc) · 2.5 KB

nf-tbs-tbsip_context_close.md

File metadata and controls

113 lines (96 loc) · 2.5 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:tbs.Tbsip_Context_Close
Tbsip_Context_Close function (tbs.h)
Closes a context handle, which releases resources associated with the context in TBS and closes the binding handle used to communicate with TBS.
Tbsip_Context_Close
Tbsip_Context_Close function [TBS]
tbs._tbsip_context_close
tbs/Tbsip_Context_Close
tbs\_tbsip_context_close.htm
TBS
405c600b-f752-48e8-9eea-473fcdf1eb2f
12/05/2018
Tbsip_Context_Close, Tbsip_Context_Close function [TBS], tbs._tbsip_context_close, tbs/Tbsip_Context_Close
tbs.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Tbs.lib
Tbs.dll
Windows
19H1
Tbsip_Context_Close
tbs/Tbsip_Context_Close
c++
APIRef
kbSyntax
DllExport
Tbs.dll
Tbsip_Context_Close

Tbsip_Context_Close function

-description

Closes a context handle, which releases resources associated with the context in TBS and closes the binding handle used to communicate with TBS.

-parameters

-param hContext [in]

A handle of the context to be closed.

-returns

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
TBS_SUCCESS
0 (0x0)
The function was successful.
TBS_E_INTERNAL_ERROR
2150121473 (0x80284001)
An internal software error occurred.
TBS_E_INVALID_CONTEXT
2150121476 (0x80284004)
The specified context handle does not refer to a valid context.

-remarks

When the context handle is closed, the structure associated with the context handle is zeroed, which ensures that subsequent attempts to use the handle will result in an error. All objects that have been created under this context will be flushed.