Jump to content

VioDeleteSetId: Difference between revisions

From EDM2
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..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Description==
Makes the logical font no longer available through the local ID.
Makes the logical font no longer available through the local ID.
==Syntax==
==Syntax==
<PRE>
  VioDeleteSetId (lcid, hvps)
#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);
 
</PRE>


==Parameters==
==Parameters==
; lcid (ULONG) - input : Local ID for the font.  
;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]].


; 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==
==Return Code==
rc (APIRET) - returns
;rc (APIRET) - returns:VioDeleteSetId returns one of the following values:
 
*0 NO_ERROR
VioDeleteSetId returns one of the following values:
*421 ERROR_VIO_INVALID_PARMS
 
*436 ERROR_VIO_INVALID_HANDLE
* 0         NO_ERROR  
* 421       ERROR_VIO_INVALID_PARMS  
* 436       ERROR_VIO_INVALID_HANDLE


==Remarks==
==Remarks==
After this call, the lcid is available for reuse.
After this call, the lcid is available for reuse.


In OS/2 2.x, hvps cannot be 0.  
In OS/2 2.x, hvps cannot be 0.
==Example Code==
<PRE>
 
</PRE>
 
==Related Functions==


[[Category:The OS/2 API Project]]
[[Category:Vio]]

Latest revision as of 02:28, 2 January 2020

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

Syntax

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.