Timing (Windows Multimedia)

As part of debugging an application, you can obtain information about the amount of time required to complete repetitive DrawDib operations. The DrawDibTime function returns timing information for the following operations:

  • Drawing a bitmap
  • Decompressing a bitmap
  • Dithering a bitmap
  • Stretching a bitmap
  • Transferring a bitmap by using the BitBlt function
  • Transferring a bitmap by using the StretchDIBits function

After retrieving a set of values, DrawDibTime resets the count and value for each operation.

The DrawDibTime function is available only in the debug version of the DrawDib functions.

Image Rendering