home *** CD-ROM | disk | FTP | other *** search
- /*=======================================================*/
- /* TVGETBUF.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"
-
- /*======================================================*/
- /* TVgetbuf get info on window's shadow buffer */
- /* Ralf Brown 4/2/88 */
- /*======================================================*/
-
- void pascal TVgetbuf(OBJECT win,char far **buffer, int *size, int *flag)
- {
- _BX = OBJSEG(win) ;
- _AX = 0x1024 ;
- geninterrupt(0x15) ;
- *flag = _DL ;
- *size = _CX ;
- *buffer = MK_FP(_ES,_DI) ;
- }
-
- /* End of TVGETBUF.C */
-