次の方法で共有


2.2.1.1.4 PRINTER_HANDLE

The PRINTER_HANDLE serves as an RPC context handle for methods that specify a printer object handle parameter. RPC context handles are specified in [C706] sections 2 and 6.

This type is declared as follows:

 typedef [context_handle] void* PRINTER_HANDLE;

The PRINTER_HANDLE context handle is returned by RpcAddPrinter, RpcAddPrinterEx, RpcOpenPrinter, and RpcOpenPrinterEx.