SetJobNamedProperty function (winspool.h)

This topic describes the SetJobNamedProperty function.

Syntax

DWORD SetJobNamedProperty(
  [in] HANDLE                   hPrinter,
  [in] DWORD                    JobId,
  [in] const PrintNamedProperty *pProperty
);

Parameters

[in] hPrinter

Describes the HANDLE parameter hPrinter.

[in] JobId

Describes the DWORD parameter JobId.

[in] pProperty

Describes the PrintNamedProperty parameter pProperty.

Return value

DWORD

Requirements

Requirement Value
Target Platform Windows
Header winspool.h (include Winspool.h)