3.1.4.7.4 RpcAsyncAddJob (Opnum 5)

RpcAsyncAddJob does not perform any function, but returns ERROR_INVALID_PARAMETER.

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

 DWORD RpcAsyncAddJob(
   [in] PRINTER_HANDLE hPrinter,
   [in] DWORD Level,
   [in, out, unique, size_is(cbBuf)] 
     unsigned char* pAddJob,
   [in] DWORD cbBuf,
   [out] DWORD* pcbNeeded
 );

hPrinter: A handle to a printer object that was opened using either RpcAsyncOpenPrinter (section 3.1.4.1.1) or RpcAsyncAddPrinter (section 3.1.4.1.2).

Return Values: This method MUST return ERROR_INVALID_PARAMETER ([MS-ERREF] section 2.2).

This method MUST be implemented to ensure compatibility with protocol clients.