Carbon


PMSetPageFormatExtendedData

Header: PMCore.h Carbon status: Supported

Stores your application-specific data in a page format object.

OSStatus PMSetPageFormatExtendedData (
    PMPageFormat pageFormat, 
    OSType dataID, 
    UInt32 size, 
    void *theData
);
Parameter descriptions
pageFormat

A PMPageFormat object.

dataID

A 4-character code that will be used to identify your data. This is typically your application’s creator code.

size

The size, in bytes, of the data to be stored the page format object.

theData

A pointer to the data to be stored.

function result

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

DISCUSSION

By calling the function PMGetPageFormatExtendedData, you can retrieve the data you store with PMSetPageFormatExtendedData.

SPECIAL CONSIDERATIONS

Valid within a printing session after creating a page format object.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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