Carbon


PMSetIdleProc

Header: PMCore.h Carbon status: Not Recommended

Installs an idle callback function in your print loop.

OSStatus PMSetIdleProc (
    PMIdleUPP idleProc
);
Parameter descriptions
idleProc

A universal procedure pointer to your idle function. Your idle function is defined by the callback PMIdleProcPtr.

function result

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

DISCUSSION

The Carbon Printing Manager calls your idle function periodically during your print loop. Note that your idle function should not be used to display printing progess information, as that is handled automatically by the Carbon Printing Manager.

PMSessionSetIdleProc is recommended instead of PMSetIdleProc.

SPECIAL CONSIDERATIONS

Valid after calling PMBegin.

AVAILABILITY

Not recommended in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


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