How to delete registry entries.

I got some code here to Make entries..
But it doesnt show how to delete them.

The method is API..
I can post the code if you want..

Thanks.
SeaHag