UID | title | description | tech.root | ms.date | keywords | 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 | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:bidispl.IBidiSpl.BindDevice |
IBidiSpl::BindDevice (bidispl.h) |
The BindDevice method binds a printer to a bidi request. This method is similar to the OpenPrinter function. |
print |
03/03/2023 |
|
BIDI_ACCESS_ADMINISTRATOR, BIDI_ACCESS_USER, BindDevice, BindDevice method [Print Devices], BindDevice method [Print Devices],IBidiSpl interface, IBidiSpl interface [Print Devices],BindDevice method, IBidiSpl.BindDevice, IBidiSpl::BindDevice, _win32_IBidiSpl_BindDevice, bidispl/IBidiSpl::BindDevice, gdi.ibidispl_ibidispl__binddevice, print.ibidispl_ibidispl__binddevice |
bidispl.h |
Desktop |
Windows XP |
Windows Server 2003 |
Bidispl.dll |
Windows |
|
|
|
|
|
The BindDevice method binds a printer to a bidi request. This method is similar to the OpenPrinter function.
A pointer to a null-terminated string that contains name of the printer or print server. If NULL, it indicates the local printer server.
The access privileges for the printer. This parameter can be one of the following values.
Value | Description |
---|---|
BIDI_ACCESS_ADMINISTRATOR | Permits users to perform all administrative tasks and basic printing operations except for SYNCHRONIZE. This is the same as PRINTER_ALL_ACCESS in OpenPrinter. |
BIDI_ACCESS_USER | Permits users to perform basic printing operations. This is the same as PRINTER_ACCESS_USE in OpenPrinter. |
The method returns one of the following values. For more information about COM error codes, see COM Error Codes.
Value | Description |
---|---|
S_OK | The operation was successfully carried out. |
E_HANDLE | The interface handle was invalid. |
None of the above | The HRESULT contains an error code corresponding to the last error. |
Bidirectional Communication Interfaces