So I'm looking for a function that creates bitmaps taken from screen like a screenshot.
I've found this;
HBITMAP CreateBitmap(int nWidth,int nHeight,UINT cPlanes,UINT cBitsPerPel,CONST VOID *lpvBits);
But I don't understand what an HBITMAP is or what an CONST VOID *lpvBits is.
So I don't get how to use it.
I'm looking for a function that saves a bitmap in my current 32-bit system with screen specified height and width. Should look like;
[code]BitmapTypeOrStruct bitmap = CreateBitmap(int xs,int ys,int xe,int ye, 32-bit);[/code]
Then i thought i would compare bitmaps, forexample
So if someone knows how to save screenshots and later compare them tell me plz.
//ColacX you get my point do you?