GetJobAttributes function

A print provider's GetJobAttributes function gets information about a print job.

Syntax


BOOL GetJobAttributes(
  _In_   LPWSTR pPrinterName,
  _In_   LPDEVMODEW pDevmode,
  _Out_  PATTRIBUTE_INFO_3 pAttributeInfo
);

Parameters

pPrinterName [in]

Caller-supplied pointer to a NULL-terminated Unicode string containing the printer name.

pDevmode [in]

Caller-supplied pointer to a DEVMODEW structure that is passed to the print processor or printer driver.

pAttributeInfo [out]

Caller-supplied pointer to an ATTRIBUTE_INFO_3 structure that receives information about the print job.

Return value

GetJobAttributes returns TRUE if it is successful in obtaining the print job attributes; otherwise it returns FALSE.

Remarks

Requirements

Version

This function is available in Microsoft Windows Server 2003 and later operating system versions.

Header

Winsplp.h (include Winsplp.h)

Library

Spoolss.lib

See also

DEVMODEW
ATTRIBUTE_INFO_3
GetJobAttributesEx

 

 

Send comments about this topic to Microsoft

表示:
© 2014 Microsoft