ADDJOB_INFO_1

typedef struct _ADDJOB_INFO_1 {

LPTSTR Path;

DWORD JobId;

} ADDJOB_INFO_1, *PADDJOB_INFO_1, *LPADDJOB_INFO_1;

This structure is returned by the AddJob function. The Path returned can be used to CreateFile, WriteFile, and CloseHandle. The ScheduleJob function should then be called so that the job will be printed. This provides a very fast method of spooling.

Members

Path

This value is a null-terminated string that defines a fully qualified filename that can be created and written to.

JobId

This value indicates the Job Identification number that can be used on subsequent calls to the Spool Susbsystem.