VioDestroyPS: Difference between revisions
Appearance
m Ak120 moved page OS2 API:CPI:VioDestroyPS to VioDestroyPS |
mNo edit summary |
||
Line 1: | Line 1: | ||
Destroys the VIO presentation space. | Destroys the VIO presentation space. | ||
==Syntax== | ==Syntax== | ||
VioDestroyPS (hvps) | |||
HVIO | ==Parameters== | ||
; hvps (HVIO) - input :VIO presentation-space handle. | |||
:This is a value returned by [[VioCreatePS]]. | |||
==Return Code== | ==Return Code== | ||
rc (APIRET) - returns | rc (APIRET) - returns | ||
VioDestroyPS returns one of the following values: | VioDestroyPS returns one of the following values: | ||
* 0 NO_ERROR | |||
* 0 | * 421 ERROR_VIO_INVALID_PARMS | ||
* 421 | * 436 ERROR_VIO_INVALID_HANDLE | ||
* 436 | * 499 ERROR_VIO_ASSOCIATED_DC | ||
* 499 | |||
==Remarks== | ==Remarks== | ||
Line 31: | Line 21: | ||
The VIO presentation-space handle is invalid after this call. | The VIO presentation-space handle is invalid after this call. | ||
After this call, the local ID for the font is available for reuse. | After this call, the local ID for the font is available for reuse. | ||
==Related Functions== | ==Related Functions== | ||
*[[VioCreatePS]] | |||
[[Category: | [[Category:Vio]] |
Revision as of 04:39, 13 February 2017
Destroys the VIO presentation space.
Syntax
VioDestroyPS (hvps)
Parameters
- hvps (HVIO) - input
- VIO presentation-space handle.
- This is a value returned by VioCreatePS.
Return Code
rc (APIRET) - returns
VioDestroyPS returns one of the following values:
- 0 NO_ERROR
- 421 ERROR_VIO_INVALID_PARMS
- 436 ERROR_VIO_INVALID_HANDLE
- 499 ERROR_VIO_ASSOCIATED_DC
Remarks
The presentation space must not be associated with a device context when VioDestroyPS is called.
The VIO presentation-space handle is invalid after this call.
After this call, the local ID for the font is available for reuse.