Use the DIB_Enable function to enable the DIB engine and to set the dpCurves through dpStyleLen members of a GDIINFO structure.