Contents

PMSessionSetIdleProc

Installs an idle callback function in your print loop.

Declaration

OSStatus PMSessionSetIdleProc (
   PMPrintSession printSession,
   PMIdleUPP idleProc
);

Parameters

  • printSession:

    The printing session that provides a context for the print job.

  • idleProc:

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

Return Value

A result code. See Result Codes.

Overview

You do not need this function in macOS. Instead, use the standard idle proc.

See Also

Print Loop Functions