GetJobNamedPropertyValue - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// winspool.h

DWORD GetJobNamedPropertyValue(
  [in]  HANDLE             hPrinter,
  [in]  DWORD              JobId,
  [in]  PCWSTR             pszName,
  [out] PrintPropertyValue *pValue
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-winspool-getjobnamedpropertyvalue)

GetJobNamedPropertyValue function

Description

Retrieves the value of the named property for the specified print job on the specified printer.

Parameters

hPrinter [in]

A handle to the printer object of interest. Use the OpenPrinter, OpenPrinter2, or the AddPrinter function to retrieve a printer handle.

JobId [in]

Identifier that specifies the print job. You obtain a print job identifier by calling the AddJob function or the StartDoc function.

pszName [in]

Name of the property whose value will be retrieved.

pValue [out]

Value of the named property. The caller needs to free this using the FreePrintPropertyValue function.

Return value

If the operation succeeds, the function returns ERROR_SUCCESS.