RpcAsyncCreatePrinterIC (Opnum 35)

RpcAsyncCreatePrinterIC creates an information context for a specified printer.

The counterpart of this method in the Print System Remote Protocol is RpcCreatePrinterIC. All parameters not defined below are specified in [MS-RPRN] section

 DWORD RpcAsyncCreatePrinterIC(
   [in] PRINTER_HANDLE hPrinter,
   [out] GDI_HANDLE* pHandle,
   [in] DEVMODE_CONTAINER* pDevModeContainer

hPrinter: A handle to a printer object ([MS-RPRN] section that has been opened using RpcAsyncOpenPrinter (section or RpcAsyncAddPrinter (section

Return Values: This method MUST return zero to indicate successful completion or a nonzero Win32 error code ([MS-ERREF] section 2.2) to indicate failure. The client MUST treat any nonzero return value as a fatal error.

Exceptions Thrown: This method MUST NOT throw any exceptions other than those that are thrown by the underlying RPC protocol [MS-RPCE].

This method MUST adhere to the parameter validation, processing, and response requirements that are specified in [MS-RPRN] section