generate ClassGUID

Would anybody tell me that how could I generate a Classguid for my own driver. I tried with GenInf tools. And replace it on a sample inf file. But when showing the inf file during installation, it shows “The specified location does not contain information about your? hardware” message on add hardware wizard.

Thanks.

In microsoft visual studio, u will get the tool CreateGUID().
You may use it to generate GUID.
You may also use same technigue which is used in the above tool.
GUID’s are generated using the Network card address(48 bits) if your machine is connected to internet.
If not the 80 bits are generated using the timestamp.