I have a question to do with DX that I cant figure out...

How do you set a pixel to a color in directX??
If you werent in DirectX, you could use SetPixelV...