registro de windows REG_DWORD

Iniciado por maxnet, 28 Enero 2010, 17:01 PM

0 Miembros y 1 Visitante están viendo este tema.

maxnet

hoola  como puedo registrar en el registro de windows un tipo REG_DWORD

    lRetVal = RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system", 0, KEY_ALL_ACCESS, hKey)
                                                       
    lRetVal = RegSetValueExString(hKey, "prueba1", 0&, REG_DWORD, 7, Hkey3)