Interestingly,
No[
^]
You basically have 2 options though, to do what was already suggested and just record the screen. Or go down the complicated route of hooking into DirectX and OpenGL to capture the rendered frames (which I believe is what Fraps does). I've no idea how you'd do that, and Fraps is a commercial application.