Jump to content

VioDeRegister: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Legacy
This call deregisters a video subsystem previously registered within a session.
|RepFunc=
|Remarks=This page list the older version of the function for reference.
}}
This call deregisters a video subsystem previously registered within a session.  


==Syntax==
==Syntax==
  VioDeRegister ( )
  VioDeRegister ()


==Parameters==
==Parameters==
none
;rc (USHORT) - return:Return code descriptions are:
 
*0 NO_ERROR
==Return Code==
*404 ERROR_VIO_DEREGISTER
rc (USHORT) - return
*430 ERROR_VIO_ILLEGAL_DURING_POPUP
Return code descriptions are:
*465 ERROR_VIO_DETACHED
* 0     NO_ERROR
*494 ERROR_VIO_EXTENDED_SG
* 404 ERROR_VIO_DEREGISTER  
* 430 ERROR_VIO_ILLEGAL_DURING_POPUP  
* 465 ERROR_VIO_DETACHED  
* 494 ERROR_VIO_EXTENDED_SG


==Remarks==
==Remarks==
VioDeRegister must be issued by the same process that issued the previous [[VioRegister]]. After VioDeRegister is issued, subsequent video calls are processed by the Base Video Subsystem.  
VioDeRegister must be issued by the same process that issued the previous [[VioRegister]]. After VioDeRegister is issued, subsequent video calls are processed by the Base Video Subsystem.


==Example Code==
==Bindings==
===C Binding===
===C===
<PRE>
<PRE>
#define INCL_VIO
#define INCL_VIO


USHORT  rc = VioDeRegister(VOID);
USHORT  rc = VioDeRegister(VOID);
 
USHORT rc;            /* return code */
USHORT           rc;            /* return code */
</PRE>
</PRE>


===MASM Binding===
===MASM===
<PRE>
<PRE>
EXTRN  VioDeRegister:FAR
EXTRN  VioDeRegister:FAR
Line 42: Line 33:
Returns WORD
Returns WORD
</PRE>
</PRE>
==Related Functions==
*[[VioRegister]]


[[Category:Vio]]
[[Category:Vio]]

Latest revision as of 10:39, 10 March 2020

This call deregisters a video subsystem previously registered within a session.

Syntax

VioDeRegister ()

Parameters

rc (USHORT) - return
Return code descriptions are:
  • 0 NO_ERROR
  • 404 ERROR_VIO_DEREGISTER
  • 430 ERROR_VIO_ILLEGAL_DURING_POPUP
  • 465 ERROR_VIO_DETACHED
  • 494 ERROR_VIO_EXTENDED_SG

Remarks

VioDeRegister must be issued by the same process that issued the previous VioRegister. After VioDeRegister is issued, subsequent video calls are processed by the Base Video Subsystem.

Bindings

C

#define INCL_VIO

USHORT  rc = VioDeRegister(VOID);
USHORT  rc;            /* return code */

MASM

EXTRN  VioDeRegister:FAR
INCL_VIO            EQU 1

CALL   VioDeRegister

Returns WORD