摘要: void OnScreenSave(){ HDC hScrDC, hMemDC; int width, height; BYTE *lpBitmapBits = NULL; hScrDC = CreateDC(_T("DISPLAY"), NULL, NULL, NULL); width = GetDeviceCaps(hScrDC, HORZRES); height = GetDeviceCaps(hScrDC, VERTRES); hMemDC = CreateCompatibleDC(hScrDC); BITMAPINFO RGB24BitsBITMAPINFO; Z 阅读全文