Starting with Windows 10, the APIs which support third-party print providers are deprecated. Microsoft does not recommend any investment into third-party print providers. Additionally, on Windows 8 and newer products where the v4 print driver model is available, third-party print providers may not create or manage queues which use v4 print drivers.
BOOL GetJobAttributes( LPWSTR pPrinterName, LPDEVMODEW pDevmode, PATTRIBUTE_INFO_3 pAttributeInfo );
Caller-supplied pointer to a NULL-terminated Unicode string containing the printer name.
Caller-supplied pointer to a DEVMODEW structure that is passed to the print processor or printer driver.
Caller-supplied pointer to an ATTRIBUTE_INFO_3 structure that receives information about the print job.
GetJobAttributes returns TRUE if it is successful in obtaining the print job attributes; otherwise it returns FALSE.
|Minimum supported client||This function is available in Microsoft Windows Server 2003 and later operating system versions.|
|Header||winsplp.h (include Winsplp.h)|