search for: bminfo

Displaying 1 result from an estimated 1 matches for "bminfo".

Did you mean: binfo
2005 Apr 21
9
Screen capture, save to file
...("width,height = #{screenWidth},#{screenHeight}\n") r = bitBlt(hmemDC, 0, 0, screenWidth, screenHeight, hScreenDC, 0, 0, SRCCOPY) printf("bitBlt : #{r}\n") hpxldata = globalAlloc(GMEM_FIXED, screenWidth * screenHeight * 3) lpvpxldata = globalLock(hpxldata) bmInfo = [ 40, screenWidth, screenHeight, 1, 24, 0, 0, 0, 0, 0, 0, 0].pack(''LLLSSLLLLLL'').to_ptr bmFileHeader = [ 19778, (screenWidth * screenHeight * 3) + 40 + 14, 0, 0, 54].pack(''ILIIL'').to_ptr r = getDIBits(hmemDC, hmemBM, 0, screenHe...