home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
desqview
/
dvglue10.arc
/
TVISOBJ.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-07-10
|
1KB
|
29 lines
/*=======================================================*/
/* TVISOBJ.C */
/* */
/* (c) Copyright 1988 Ralf Brown All Rights Reserved */
/* May be freely copied for noncommercial use, so long */
/* as this copyright notice remains intact, and any */
/* changes are marked in the comment blocks preceding */
/* functions. */
/*=======================================================*/
#include "tvapi.h"
/*======================================================*/
/* TVisobj--determine whether a pointer is a valid */
/* object handle */
/* Ralf Brown 4/2/88 */
/*======================================================*/
int pascal TVisobj(OBJECT obj)
{
_ES = FP_SEG(obj) ;
_DI = FP_OFF(obj) ;
_AX = 0x1016 ;
geninterrupt(0x15) ;
return (int) (_BX != 0) ;
}
/* End of TVISOBJ.C */