windows屏幕抓取的简单源代码
<br />#include <windows.h>
#include <stdio.h>
HWND hButton;
/* Declare Windows procedure */
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);
HBITMAP CopyScreenToBitmap(LPRECT lpRect);
int SaveBitmapToFile(HBITMAP hBitmap, LPSTR lpFile
原创
2010-08-20 12:45:00 ·
1539 阅读 ·
1 评论