Available in the LEADTOOLS Imaging toolkit.
MotionBlur example for C++ 5.0 and later
m_Lead1.MotionBlur(12, 4500, FALSE);