Jump to content

VioEndPopUp: Difference between revisions

From EDM2
Ak120 (talk | contribs)
m Ak120 moved page OS2 API:CPI:VioEndPopUp to VioEndPopUp
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
==Description==
Redirects video output back to the normal video buffer. This function should be issued by the application when it no longer requires the temporary screen obtained through a previous [[VioPopUp]] call.
Redirects video output back to the normal video buffer. This function should be issued by the application when it no longer requires the temporary screen obtained through a previous VioPopUp call.


==Syntax==
==Syntax==
<PRE>
VioEndPopUp (VioHandle)
#define INCL_VIO
#include <os2.h>


HVIO     VioHandle;  /*  Reserved. Must be 0. */
==Parameters==
APIRET    rc;        /*  Return code. */
;VioHandle (HVIO) - input : Reserved. Must be 0.


rc = VioEndPopUp(VioHandle);
</PRE>
==Parameters==
;  VioHandle (HVIO) - input : Reserved. Must be 0.
==Return Code==
==Return Code==
  rc (APIRET) - returns
  rc (APIRET) - returns
VioEndPopUp returns one of the following values:
VioEndPopUp returns one of the following values:
* 0 NO_ERROR
* 405 ERROR_VIO_NO_POPUP
* 421 ERROR_VIO_INVALID_PARMS
* 436 ERROR_VIO_INVALID_HANDLE


* 0    NO_ERROR
* 405        ERROR_VIO_NO_POPUP
* 421        ERROR_VIO_INVALID_PARMS
* 436        ERROR_VIO_INVALID_HANDLE
==Remarks==
==Remarks==
When the application issues a VioEndPopUp call, all video calls are directed to the application's normal video buffer. An error is returned if the call is issued with a non-zero handle.  
When the application issues a VioEndPopUp call, all video calls are directed to the application's normal video buffer. An error is returned if the call is issued with a non-zero handle.  


==Example Code==
<PRE>
</PRE>
==Related Functions==
==Related Functions==
* [[OS2 API:CPI:
* [[VioPopUp]]
 


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

Revision as of 04:41, 13 February 2017

Redirects video output back to the normal video buffer. This function should be issued by the application when it no longer requires the temporary screen obtained through a previous VioPopUp call.

Syntax

VioEndPopUp (VioHandle)

Parameters

VioHandle (HVIO) - input
Reserved. Must be 0.

Return Code

rc (APIRET) - returns

VioEndPopUp returns one of the following values:

  • 0 NO_ERROR
  • 405 ERROR_VIO_NO_POPUP
  • 421 ERROR_VIO_INVALID_PARMS
  • 436 ERROR_VIO_INVALID_HANDLE

Remarks

When the application issues a VioEndPopUp call, all video calls are directed to the application's normal video buffer. An error is returned if the call is issued with a non-zero handle.

Related Functions