I'm reading a book about game programming with Visual Basic, and I've gotten stuck on a sample program that uses two WinAPI functions, GetBitmapBits and SetBitmapBits. I'm not sure what kind of return I'm getting. I know a get an array of stuff, but not sure whats in this array. Or even how the array is sized. The sample program isn't really explained, it just redims an array of longs to the (bitmaps height * bitmaps widthbytes) the bytes part throws me off. If anyone can tell me exactly what these functions are doing, and how I can use the data returned, please let me know.