Retrieves the pitch of an image.
The pitch is the distance, in bytes, between two memory addresses that represent the beginning of one bitmap line and the beginning of the next bitmap line. Because pitch is measured in bytes, the pitch of an image helps you to determine the pixel format. The pitch can also include additional memory, reserved for the bitmap.
Use GetPitch with GetBits to find individual pixels of an image.
This method supports only DIB section bitmaps.