Jump to content

VioEndPopUp

From EDM2
Revision as of 09:51, 10 January 2017 by Ak120 (talk | contribs) (Ak120 moved page OS2 API:CPI:VioEndPopUp to VioEndPopUp)

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: