Jump to content

VioEndPopUp: Difference between revisions

From EDM2
Created page with "==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 obtai..."
 
Ak120 (talk | contribs)
m Ak120 moved page OS2 API:CPI:VioEndPopUp to VioEndPopUp
(No difference)

Revision as of 09:51, 10 January 2017

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.

Syntax

#define INCL_VIO
#include <os2.h>

HVIO      VioHandle;  /*  Reserved.  Must be 0. */
APIRET    rc;         /*  Return code. */

rc = 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.

Example Code


Related Functions

  • [[OS2 API:CPI: