1 #include <windows.h> 2 #include <tchar.h> 3 4 typedef struct _SCREENSHOT 5 { 6 HWND hSelf; 7 HDC hDC; 8 HBITMAP hBitmap; 9 LPBITMAPINFO lpbi; 10 LPVOID lpvBits; 11 INT Width; 12 INT Height; 13 } SCREENSHOT, *PSCREENSHOT; 14 15 //INT WINAPI GetScreenshot(VOID); 16