editing values in the windows registery

I used
RegOpenKeyEx to get to the location I want to change my values in the registry.

I am stuck here,
RegSetValueEx(hKey, "Name", 0, REG_BINARY, ?????

The type is reg_binary and i want to change the data.
To 01 02 03 04 05 06 07 08

Close the registry
RegCloseKey(hkey);
Last edited on
1
2
 BYTE data[] = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
RegSetValueEx(hKey, TEXT("Name"), 0, REG_BINARY, data, sizeof(data));
Topic archived. No new replies allowed.