#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. | |
Usage ss.exe file.bmp, stores the actual screenshot of the full screen to file.bmp.
| #define FILENAME_MAX MAX_PATH |
1.5.6