void _main(){{char * key="TEST\\TestKey";HKEY hKey;if (RegOpenKeyExA( HKEY_LOCAL_MACHINE, key, 0, KEY_WRITE, &hKey)!=ERROR_SUCCESS){printLine("Registry key could not be opened");}else{printLine("Registry key opened successfully");}}}
static void main(){{char * key="TEST\\TestKey";HKEY hKey;if (RegOpenKeyExA( HKEY_CURRENT_USER, key, 0, KEY_WRITE, &hKey)!=ERROR_SUCCESS){printLine("Registry key could not be opened");}else{printLine("Registry key opened successfully");}}}