Carbon


PMSessionGetDataFromSession

Header: PMCore.h Carbon status: Under Evaluation

Obtains data your application previously stored in a print session object.

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

A PMPrintSession object.

key

A string that uniquely identifies the data to be retrieved. You specify this key when storing the data using PMSessionSetDataInSession.

data

On return, the data retrieved from 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)