Carbon


PMSessionSetDataInSession

Header: PMCore.h Carbon status: Under Evaluation

Stores your application-specific data in a print session object.

OSStatus PMSessionSetDataInSession (
    PMPrintSession printSession, 
    CFStringRef key, 
    CFTypeRef data
);
Parameter descriptions
printSession

A PMPrintSession object.

key

A string used to identify the data being added. This key is required to retrieve the data using PMSessionGetDataFromSession.

data

The data to be stored in the print session object.

function result

A result code. A result code. See “Result Codes”.

SPECIAL CONSIDERATIONS

Valid within the context of a printing session.

AVAILABILITY

Under evaluation for Carbon. Available in Carbon 1.1 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)