Jump to content

VioDeleteSetId

From EDM2
Revision as of 01:15, 13 June 2016 by Martini (talk | contribs) (Created page with "==Description== Makes the logical font no longer available through the local ID. ==Syntax== <PRE> #define INCL_VIO #include <os2.h> ULONG lcid; /* Local ID for the font...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Makes the logical font no longer available through the local ID.

Syntax

#define INCL_VIO
#include <os2.h>

ULONG     lcid;  /*  Local ID for the font. */
HVIO      hvps;  /*  VIO presentation space handle. */
APIRET    rc;    /*  Return code. */

rc = VioDeleteSetId(lcid, hvps);

Parameters

lcid (ULONG) - input
Local ID for the font.
hvps (HVIO) - input
VIO presentation space handle.

This is either 0 to indicate the default VIO session, or a value returned by VioCreatePS.

Return Code

rc (APIRET) - returns

VioDeleteSetId returns one of the following values:

  • 0 NO_ERROR
  • 421 ERROR_VIO_INVALID_PARMS
  • 436 ERROR_VIO_INVALID_HANDLE

Remarks

After this call, the lcid is available for reuse.

In OS/2 2.x, hvps cannot be 0.

Example Code


Related Functions