如题 ,有源代码更好
。还有一个问题:下面这个函数是不是在Win98下不起作用?因为Win98的Class在
HKLM\SYSTEM\CurrentControlSet\Service\Class下????/////////////////////////////////////////////////
HKEY  SetupDiOpenClassRegKey(
        IN PGUID  ClassGuid,    /* optional */
        IN REGSAM  samDesired
        ); Parameters :
ClassGuid .Supplies the GUID of the class whose key is to be opened. If this parameter is NULL, the root of the class tree (HKLM\SYSTEM\CurrentControlSet\Control\Class) is opened. 
//////////////////////////////////////////////////