3.1.4.1.19 RpcAsyncPlayGdiScriptOnPrinterIC (Opnum 36)

RpcAsyncPlayGdiScriptOnPrinterIC returns font information for a printer connection.

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

 DWORD RpcAsyncPlayGdiScriptOnPrinterIC(
   [in] GDI_HANDLE hPrinterIC,
   [in, size_is(cIn)] unsigned char* pIn,
   [in] DWORD cIn,
   [out, size_is(cOut)] unsigned char* pOut,
   [in] DWORD cOut,
   [in] DWORD ul
 );

hPrinterIC: A printer information context handle ([MS-RPRN] section 2.2.1.1.2) that has been returned by RpcAsyncCreatePrinterIC (section 3.1.4.1.18).

Return Values: This method returns 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 3.1.4.2.11.