wow! for someone asking for free help, you're awfully belligerent in how you ask it. On sheer faith in humanity, I'll answer your question anyway.
in explaining how its done (assuming that you're planning to actually do something with the info) you have to understand how the operating systems works.
To actually set the red pixel itself is rather simple. Here's a function to start you out:
int setPixelRed()
{
__asm
{
MOV EAX, ..
INT 10
}
}
The "EAX" register holds the parameter(s) & function (including position & color) desired for the interrupt. The "INT 10" is the video interrupt. I'm sure you can manage to google the function you're looking for (i.e. X/Y pos, actual RGB color -- "R" having a span of "red", etc)
Things for you to consider... Vista creates interrupt service routines (ISR's) for all hardware interrupts. If you want to screen-paint in Vista without using the UI libraries available, you'll have to write a driver & chain the O/S ISR chain.
You can create an executable as a POSIX application and run it under a command prompt or launch it as a user-level driver. While you will get your painted screen effect, you may also get unwanted side-effects (depending on your video comtroller and its Vista driver).
All of this is "easy as pie" to implement so I won't tell you how ******* hard it is ;)