The DOC_INFO_CONTAINER structure provides information about the document to be printed, using the DOC_INFO_1 structure.

 typedef struct _DOC_INFO_CONTAINER {
   DWORD Level;
   [switch_is(Level)] union {
       DOC_INFO_1* pDocInfo1;
   } DocInfo;

Level: This member specifies the information level of the DocInfo member data. The value of this member MUST be set to 0x00000001.

DocInfo: This member MUST define document properties, using an information structure that MUST correspond to the value of the Level member.

pDocInfo1: This member MUST be a non-NULL pointer to a DOC_INFO_1 structure that describes the document that is printed. Details are specified in section