ADDJOB_INFO_1 structure

The ADDJOB_INFO_1 structure identifies a print job as well as the directory and file in which an application can store that job.

Syntax

typedef struct _ADDJOB_INFO_1 {
  LPTSTR Path;
  DWORD  JobId;
} ADDJOB_INFO_1, *PADDJOB_INFO_1;

Members

Path

Pointer to a null-terminated string that contains the path and file name that the application can use to store the print job.

JobId

A handle to the print job.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Winspool.h (include Windows.h)
Unicode and ANSI names
_ADDJOB_INFO_1W (Unicode) and _ADDJOB_INFO_1A (ANSI)

See also

Printing

Print Spooler API Structures

AddJob