![]() |
typedef STACK_UPP_TYPE(PMIdleProcPtr) PMIdleUPP;
Within its printing loop, your application can use an idle function to display a print status dialog box. You must write you own idle function, which is defined by the PMIdleUPP data type. Use the PMSetIdleProc function to install your idle function within your printing loop.
This is how would declare your idle function if your were to name it MyPrintIdleProc:
void MyPrintIdleProc (void);
See the description of the PMIdleProcPtr function for information about how to implement this routine.