Creates a VIO presentation space.

#define INCL_VIO
#include <os2.h>

PHVIO     phvps;      /*  Pointer to the presentation-space handle. */
ULONG     Rows;       /*  Number of rows. */
ULONG     Columns;    /*  Number of columns. */
ULONG     Format;     /*  Format of the attributes */
ULONG     AttrBytes;  /*  Number of attribute bytes. */
HVIO      hvps;       /*  Reserved.  Must be 0. */
APIRET    rc;         /*  Return code. */

rc = VioCreatePS(phvps, Rows, Columns, Format,
       AttrBytes, hvps);


[Back] [Next]