#include <windows.h>
#include <tchar.h>
#include <stdio.h>

typedef struct _BITMAPCAPTURE {
HBITMAP hbm;
LPDWORD pixels;
INT width;
INT height;
} BITMAPCAPTURE, *PBITMAPCAPTURE;