HGE::System_Snapshot

Saves current screen snapshot into a file.

void System_Snapshot(
  const char *filename = 0
);

Parameters

filename
An absolute or relative file name to save snapshot to. If =0 or omitted, the snapshot is saved into the application folder under shotXXX.bmp name, where XXX is the next free number.

Remarks

The snapshot is saved in BMP file format.

Requirements

Header: hge.h
Import library: hge.lib