SetBitmapBits is the deprecated devil!
Use StretchDIBits, save yourself the whole IPictureDisp mess and copy your pixel array directly to a DC >