2.2.1.2.4 FORM_CONTAINER

The FORM_CONTAINER structure provides information about printer forms, using FORM_INFO structures. The FormInfo member specifies the structure that defines the printer form properties.

 typedef struct _FORM_CONTAINER {
   DWORD Level;
   [switch_is(Level)] union {
     [case(1)] 
       FORM_INFO_1* pFormInfo1;
     [case(2)] 
       RPC_FORM_INFO_2* pFormInfo2;
   } FormInfo;
 } FORM_CONTAINER;

Level: The information level of the FormInfo data. The value of this member MUST be 0x00000001 or 0x00000002.

FormInfo: This member MUST define printer form properties, using an information structure that MUST correspond to the value of the Level member.

pFormInfo1: If the Level member is 0x00000001, this member is a pointer to a FORM_INFO_1 structure, which provides information about a printer form. For details, see section 2.2.1.6.1.

pFormInfo2: If the Level member is 0x00000002, this member is a pointer to a RPC_FORM_INFO_2 structure, which provides information about a printer form. For details, see section 2.2.1.6.2.