Compartilhar via


2.2.1.1.7 STRING_HANDLE

The STRING_HANDLE serves as an RPC binding handle for methods that do not specify a PRINTER_HANDLE parameter. RPC binding handles are specified in [C706].

This type is declared as follows:

 typedef [handle] wchar_t* STRING_HANDLE;

To build the binding handle for those methods, RPC requires an RPC protocol sequence, a network address, and an endpoint. Both the RPC protocol sequence and the endpoint are bound to the RPC interface; they MUST be named pipes and \pipe\spoolss, respectively. The network address MUST be defined by the printer or print server name. The printer name can be in the form \\server\printer (for rules governing printer names, see section 2.2.4.14), and the server MUST be used as the network address.