ce/scrsht.c File Reference

Command line screenshot program for MS WIndows. More...

#include "scrshtrc.h"
#include "wintools.h"
#include <windows.h>
#include <windowsx.h>
#include <commdlg.h>
#include <stdio.h>
#include <string.h>

Defines

#define FILENAME_MAX   MAX_PATH

Enumerations

enum  t_sserrcode {
  SS_OK = 0, SS_UNKNOWN, SS_ERR_PARAM, SS_ERR_WRITE,
  SS_ERR_GETBMP, SS_ERR_DC, SS_ERR_DESKTOPDC, SS_ERR_DIB,
  SS_ERR_COMPATDC, SS_ERR_COMPATBMP, SS_ERR_BITBLT, SS_ERR_SELECTOBJECT,
  SS_ERR_FILE
}
 Return and error codes. More...

Functions

int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow)
 The main entry point of the snapshot program.


Detailed Description

Command line screenshot program for MS WIndows.

Usage ss.exe file.bmp, stores the actual screenshot of the full screen to file.bmp.

Author:
Daniel Stoinski
Version:
$Revision$

Define Documentation

#define FILENAME_MAX   MAX_PATH


Generated on Mon Jul 12 14:51:51 2010 for cetoys by  doxygen 1.5.6