nvType = REGDB_NUMBER;
szKey =
es\\{
szName =
RegDBSetDefaultRoot ( HKEY_LOCAL_MACHINE );
RegDBGetKeyvalueEx ( szKey
if ( svvalue =
szName =
else
szName =
endif;
nvType = REGDB_STRING;
RegDBSetDefaultRoot ( HKEY_LOCAL_MACHINE );
RegDBGetKeyvalueEx ( szKey
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Adapters
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\El
同樣
RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);
RegDBGetKeyvalueEx(
大家可以通過以上的示例獲取注冊表的其他鍵值
From:http://tw.wingwit.com/Article/program/yxkf/201404/30418.html