www.delorie.com/djgpp/doc/libc-2.01/libc_550.html   search  
Go to the first, previous, next, last section, table of contents.


ScreenRetrieve

Syntax

#include <pc.h>

void  ScreenRetrieve(void *buf);

Description

This function stores a replica of the current primary screen contents in the buffer pointed to by buf. It assumes without checking that buf has enough storage to hold the data. The required storage can be computed as ScreenRows()*ScreenCols()*2 (section ScreenRows, section ScreenCols).

Return Value

None.

Example

unsigned *saved_screen = (unsigned *)alloca(ScreenRows()*ScreenCols()*2;

ScreenRetrieve(saved_screen);


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997