截屏代码
摘要:
1 #define ALIGNEDONDWORD(theBytes) ( ( ( (DWORD)(theBytes) + 31 ) & ~31 ) >> 3 ) 2 3 BOOL BmpFromHandle( HDC hDC, HBITMAP hBitmap, WORD nBits, LPCTSTR lpszFile ) 4 { 5 BITMAP bmp; 6 WORD cClrBits; 7 LPBITMAPINFO bi; 8 BITMAPFILEHEADER bf; 9 LPVOID lpData; 10 HANDLE... 阅读全文
posted @ 2012-11-20 23:17 郁郁思扬 阅读(448) 评论(0) 推荐(0) 编辑