IBidiSpl2::UnbindDevice method (bidispl.h)

The UnbindDevice method releases a printer from a bidirectional printer communication (bidi communication) request.

Syntax

HRESULT UnbindDevice();

Return value

The method returns one of the following values.

Value Description
S_OK The operation was successful.
E_HANDLE The interface handle is invalid.
None of the above The HRESULT contains an error code that corresponds to the last error.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Desktop
Header bidispl.h
DLL Bidispl.dll

See also

Bidirectional Communication Interfaces

Bidirectional Communication Schema

IBidiSpl2

Print Spooler Components