You can't be serious. Maybe you've been smoking too much of your user name. This is not a grammar board nor an english board. Get over it and keep your comments relative to um...well...C++ programming.
In addition to that, I like to be the grammar police some times... One of my grand pet peeves is someone using contractions in speech out of place. You realize that "Pixel's" is the contraction of "Pixel" and "is", yes? ....Well, no one's perfect...but that sort of grammar error kind of irritates me. Maybe I just gave you a helpful grammar lesson that you can take with you in life: Unless it's showing posession (The pixel's color) or is a contraction (The pixel's eating cheese), don't use an apostrophe.
This has been a friendly grammar lesson from Dean.
As for the question. I'm assuming you have a COLORREF pointer to the buffer that has the color information in it.
void FindPixelsWithColor(COLORREF ColorToSearchFor,COLORREF *Buffer,int BufferWidth,DWORD BufferSize,PixelInformation &Root)
PixelInformation *pixel=new PixelInformation;
If this doesn't compile check the pointer usage. I did not test it so I'm not sure I'm using them correctly. This will assemble a double linked list of pixels that match the given color. Each pixel is linked to the previous and next in the list. I would have to compile it and see what happened in order to get it perfect.
But this should work.