c++ Programming Glossary: hcapturebitmap
Save bitmap to video (libavcodec ffmpeg) http://stackoverflow.com/questions/1359620/save-bitmap-to-video-libavcodec-ffmpeg stream using libavcodec. I get my HBitmap using HBITMAP hCaptureBitmap CreateCompatibleBitmap hDesktopDC nScreenWidth nScreenHeight.. nScreenWidth nScreenHeight SelectObject hCaptureDC hCaptureBitmap BitBlt hCaptureDC 0 0 nScreenWidth nScreenHeight hDesktopDC..
How to read the screen pixels? http://stackoverflow.com/questions/2659932/how-to-read-the-screen-pixels HDC hCaptureDC CreateCompatibleDC hDesktopDC HBITMAP hCaptureBitmap CreateCompatibleBitmap hDesktopDC nScreenWidth nScreenHeight.. nScreenWidth nScreenHeight SelectObject hCaptureDC hCaptureBitmap BitBlt hCaptureDC 0 0 nScreenWidth nScreenHeight hDesktopDC.. RGBQUAD nScreenWidth nScreenHeight GetDIBits hCaptureDC hCaptureBitmap 0 nScreenHeight pPixels bmi DIB_RGB_COLORS write int p int..
|