#include "l_eprint.h"
L_INT pEXT_CALLBACK YourFunction (pszPrinterName, pszFileName, dwErrorCode, pData)
/* printer name */ | |
/* file name */ | |
DWORD dwErrorCode; |
/* error code */ |
/* pointer to user defined data */ |
Callback function fired for each file being saved.
Parameter |
Description |
pszPrinterName |
Character string that contains the name of the ePrint printer. |
pszFileName |
Character string that contains the file name being saved. |
dwErrorCode |
Error code. This value can be SUCCESS, which means that the operation completed successfully. For possible values refer to the Error Codes. |
pData |
A void pointer that you can use to access a variable or structure that contains data that your callback function needs. This gives you a way to receive data indirectly from the function that uses this callback function. This is the same pointer passed to the L_EpnRegisterCallback function in the pCallbackInfo parameter. |
|
Keep in mind that this is a void pointer, which must be cast to the appropriate data type within your callback function. |
Returns
SUCCESS |
This function does not take into consideration the returned values. |
Comments
This callback function gives the status of the file being saved.
Required DLLs and Libraries
LPKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
L_EpnInstallOEMPrinter, L_EpnRegisterCallback, L_EpnUnRegisterCallback, JOBINFOPROC |
Topics: |
|
|
Example
For an example, refer to L_EpnRegisterCallback.