UnbindPTProviderThunk function

[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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

DLL

Prntvpt.dll

See also

Print Schema
PTCloseProvider
Printing
Print Spooler API Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft