Jump to content

HCINFO

From EDM2
Revision as of 17:16, 8 February 2020 by Martini (talk | contribs) (Created page with "Hardcopy-capabilities structure. ==Type== CHAR szFormname[32]; LONG cx; LONG cy; LONG xLeftClip; LONG yBottomClip; ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hardcopy-capabilities structure.

Type

 CHAR     szFormname[32];
 LONG     cx;            
 LONG     cy;            
 LONG     xLeftClip;     
 LONG     yBottomClip;   
 LONG     xRightClip;    
 LONG     yTopClip;      
 LONG     xPels;         
 LONG     yPels;         
 LONG     flAttributes;

C Declaration Method

typedef struct

Example Code

typedef struct _HCINFO {
  CHAR     szFormname[32];  /*  Form name. */
  LONG     cx;              /*  Width (left-to-right) in millimeters. */
  LONG     cy;              /*  Height (top-to-bottom) in millimeters. */
  LONG     xLeftClip;       /*  Left clip limit in millimeters. */
  LONG     yBottomClip;     /*  Bottom clip limit in millimeters. */
  LONG     xRightClip;      /*  Right clip limit in millimeters. */
  LONG     yTopClip;        /*  Top clip limit in millimeters. */
  LONG     xPels;           /*  Number of pels between left and right clip limits. */
  LONG     yPels;           /*  Number of pels between bottom and top clip limits. */
  LONG     flAttributes;    /*  Attributes of the form identifier. */
} HCINFO;

typedef HCINFO *PHCINFO;