Export (0) Print
Expand All

2.2.1.2.5 JOB_CONTAINER

The JOB_CONTAINER structure provides information about print jobs, using JOB_INFO structures. The JobInfo member specifies the structure that defines the print job properties.

typedef struct _JOB_CONTAINER {
  DWORD Level;
  [switch_is(Level)] union {
    [case(1)] 
      JOB_INFO_1* Level1;
    [case(2)] 
      JOB_INFO_2* Level2;
    [case(3)] 
      JOB_INFO_3* Level3;
    [case(4)] 
      JOB_INFO_4* Level4;
  } JobInfo;
} JOB_CONTAINER;

Level: Specifies the information level of the JobInfo data. The value of this member MUST be in the range 0x00000001 to 0x00000004 inclusive.

JobInfo: Defines print job properties, using an information structure that corresponds to the value of the Level member.

Level1: If the Level member is 0x00000001, this member is a pointer to a JOB_INFO_1 structure that provides print job information. For details, see section 2.2.1.7.1.

Level2: If the Level member is 0x00000002, this member is a pointer to a JOB_INFO_2 structure that provides print job information. For details, see section 2.2.1.7.2.

Level3: If the Level member is 0x00000003, this member is a pointer to a JOB_INFO_3 structure that provides print job information. For details, see section 2.2.1.7.3.

Level4: If the Level member is 0x00000004, this member is a pointer to a JOB_INFO_4 structure that provides print job information. For details, see section 2.2.1.7.4.

 
Show:
© 2014 Microsoft