title: Draw WICBitmap to window?
body: <p>I have a <code>WICBitmap</code> that contains an image in my MFC program.  Is there any way to draw this bitmap onto a device context?</p>
  
  <pre><code>void DrawBitmap(IWICBitmapSource source, HDC targetDC, int X, int Y, int cx, int cy)
  {
     //source: The Bitmap to draw
     //TargetDC: The HDC to draw onto (e.g. a printer or screen DC)
     //X,Y: The location on the DC to draw the bitmap
  
  }
  </code></pre>