![]() |
PMRetain |
||||
Header: | PMCore.h | Carbon status: | Supported | |
Increments a printing objects reference count.
OSStatus PMRetain ( PMObject object );
A Carbon Printing Manager object, such as a PMPrintSession, PMPageFormat, or PMPrintSettings object.
A result code. A result code. See
You can use the PMRetain function to increment a printing objects reference count, so that multiple threads can use the object without the risk of another thread deallocating the object.s
Valid after creating a printing object.
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)