![]() |
PMSessionSetError |
||||
Header: | PMCore.h | Carbon status: | Supported | |
Sets the value of the current Carbon Printing Manager result code for the specified printing session.
OSStatus PMSessionSetError ( PMPrintSession printSession, OSStatus printError );
A PMPrintSession object.
The result code you wish to set. This result code will be returned by the PMSessionError function.
A result code. A result code. See
You can use this function to terminate a printing session if your application encounters any errors inside the print loop.
Valid after calling PMCreateSession.
Supported in Carbon. Available in Carbon 1.1 and later when CarbonLib 1.1 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)