Job::GetJobParameter method
Retrieve the value of a specified job parameter.
Syntax
virtual HRESULT GetJobParameter(
[in] LPCWSTR parameterName,
[out, optional] LPCWSTR *parameterValue
) const = 0;
Parameters
-
parameterName [in]
-
The name of the parameter for which to retrieve the value.
-
parameterValue [out, optional]
-
The parameter value retrieved.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Remarks
Managed code uses Job.JobParameter | jobParameter property.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|