Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
RpcAsyncGetJobNamedPropertyValue retrieves the current value of the specified Job Named Property (section 3.1.1).<31>
The counterpart of this method in the Print System Remote Protocol ([MS-RPRN]) is RpcGetJobNamedPropertyValue. All parameters not defined below are specified in [MS-RPRN] section 3.1.4.12.1.
-
DWORD RpcAsyncGetJobNamedPropertyValue( [in] PRINTER_HANDLE hPrinter, [in] DWORD JobId, [in, string] const wchar_t* pszName, [out] RPC_PrintPropertyValue* pValue );
hPrinter: A handle to a printer object or server object that has been opened by using either RpcAsyncOpenPrinter (section 3.1.4.1.1) or RpcAsyncAddPrinter (section 3.1.4.1.2).
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 specified in [MS-RPCE].
This method MUST adhere to the parameter validation, processing, and response requirements that are specified in [MS-RPRN] section 3.1.4.12.1.