void _main(){if(global_returns_t_or_f()){{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");}}}else{{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");}}}}
static void main(){if(global_returns_t_or_f()){{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");}}}else{{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");}}}}