IPrintJob::get_Id method (printerextension.h)
Gets the print job identifier (ID).
This property is read-only.
Syntax
HRESULT get_Id(
ULONG *pulID
);
Parameters
pulID
Defines the ULONG parameter pulID.
Return value
Returns an HRESULT value. If the property call was not successful, it returns the appropriate HRESULT error code.
Remarks
You must not use the IPrintJob::Id property to invoke spooler Job APIs. This property is only provided as a way for you to identify a particular job, and to help with ordering or sorting of the jobs in the job snapshot.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 |
Minimum supported server | Windows Server 2012 R2 |
Target Platform | Windows |
Header | printerextension.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for