Windows GDI
FORM_INFO_1
The FORM_INFO_1 structure contains information about a print form. The information includes the print form's origin, its name, its dimensions, and the dimensions of its printable area.
typedef struct _FORM_INFO_1 {
DWORD Flags;
LPTSTR pName;
SIZEL Size;
RECTL ImageableArea;
} FORM_INFO_1, *PFORM_INFO_1; Members
- Flags
- Specifies the form properties. The following values are defined.
| Value | Meaning |
| FORM_USER | If this bit flag is set, the form has been defined by the user. Forms with this flag set are defined in the registry. |
| FORM_BUILTIN | If this bit-flag is set, the form is part of the spooler. Form definitions with this flag set do not appear in the registry. |
| FORM_PRINTER | If this bit flag is set, the form is associated with a certain printer, and its definition appears in the registry. |
- pName
- Pointer to a null-terminated string that specifies the name of the form.
- Size
- Specifies the width and height, in thousandths of millimeters, of the form.
- ImageableArea
- Specifies the width and height, in thousandths of millimeters, of the form.
Windows NT/2000/XP/Vista: Included in Windows NT 3.1 and later.
Windows 95/98/Me: Unsupported.
Header: Declared in Winspool.h; include Windows.h.
Unicode: Declared as Unicode and ANSI structures.
See Also
Printing and Print Spooler Overview, Printing and Print Spooler Structures, AddForm, GetForm, SetForm