[This function is not supported and might be disabled or deleted in future versions of Windows. PTCloseProvider provides equivalent functionality and should be used instead.]
Closes a handle to a print ticket provider.
Syntax
HRESULT UnbindPTProviderThunk(
_In_ HPTPROVIDER hProvider
);
Parameters
hProvider [in]
A handle to an open print ticket provider. This handle is returned by the BindPTProviderThunk function.
Return value
If the method succeeds, it returns S_OK; otherwise, it returns an HRESULT error code. For more information about COM error codes, see Error Handling.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| DLL | Prntvpt.dll |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
