Copies the bitmap bits of a specified device-dependent bitmap into a buffer
#include <WinAPIGdi.au3>
_WinAPI_GetBitmapBits ( $hBitmap, $iSize, $pBits )
| $hBitmap | Handle to the device-dependent bitmap. |
| $iSize | The number of bytes to copy from the bitmap into the buffer. |
| $pBits | A pointer to a buffer to receive the bitmap bits. |
| Success: | The number of bytes copied to the buffer. |
| Failure: | 0. |
Search GetBitmapBits in MSDN Library.