Hey, Razor - afraid about your own writing or why do you edit your posts every 20 seconds including changes to complete new texts?
For your homework: Not writing - first learn something about the things you ask. Do not (yet) try to implement. What you should look on was posted earlier:
Zitat von
Der_Unwissende:
Well, you might study some basic concepts, something like the advantages of abstraction-layers (e.g. the hw-abstraction-layer), of course you should also get information about how to
access hw-directly on a windows-system (driver programming, wdk,
ddk, ...)
And maybe you should also have a look at the website of RivaTuner, some ATI graphic adapters are supported as well.
After this, look at the code you posted and try to understand it. If some things in the code is incomprehensible to you, then ask detailed about that source parts and we will help you. This is the idea of this/the board...