共用方式為


2.2.1.2.2 DOC_INFO_CONTAINER

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 {
     [case(1)] 
       DOC_INFO_1* pDocInfo1;
   } DocInfo;
 } DOC_INFO_CONTAINER;

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: A pointer to a DOC_INFO_1 structure (section 2.2.1.4) that describes the document that is printed.