UpdateOverlay Return DDERR_OUTOFCAPS error in windows 7

Mar 23, 2015 at 10:55 AM
I have created a overlay surface and for display overlay surface when i call UpdateOverlay function it is returning DDERR_OUTOFCAPS error in windows 7 OS. How can i do this ?