Loss of windows resources when use CLIPBOARD with graphics

Hi, I'm  capture video frames using avicap32.dll using a message that
capture a frame to the clipboard.
But when I repeat this operation the windows resources go down TO 0 !!
Why ? or How I can solve this ??????????

Thanks in advance !!!!!!!!!!!