Sets the code page used to display text data on the screen for the specified handle.

#define INCL_VIO
#include <os2.h>

ULONG     Reserved;    /*  Reserved.  Must be 0. */
USHORT    CodePageID;  /*  Code-page ID. */
HVIO      VioHandle;   /*  VIO presentation-space handle. */
APIRET    rc;          /*  Return code. */

rc = VioSetCp(Reserved, CodePageID, VioHandle);


[Back] [Next]