snow flurry
585e61636a
git-svn-id: svn://vcs.sdm.2ki.xyz/Grabby/trunk@9 27729192-006e-004d-b9b5-06fbd0ef7001
18 lines
407 B
C
18 lines
407 B
C
#pragma once
|
|
|
|
#include "stdafx.h"
|
|
|
|
typedef struct _Screen {
|
|
HDC hdcScreen;
|
|
HDC hdcBitmap;
|
|
HRGN hScreenRgn;
|
|
HBITMAP hBitmap;
|
|
HGDIOBJ hOldObj;
|
|
} Screen;
|
|
|
|
// Create a Screen struct.
|
|
Screen *CreateScreen(void);
|
|
// Write a screen region to the given filename.
|
|
int WriteRegionToFile(Screen *, RECT *, LPTSTR);
|
|
// Commit a "screenshot" of the screen to scrn->hBitmap
|
|
int SnapScreen(Screen *); |