I have an array of RGB values, whose size I can guarantee to match the client area of a window on screen.
Using the Win32 API, what are the easiest and fastest ways to get the contents of my array on the screen in response to a WM_PAINT message?
If it makes it simpler/faster, we can assume it's a 32-bit display and each element of the array is 32 bits.