void _main(){if(global_returns_t_or_f()){{wchar_t * key=L"TEST\\TestKey";HKEY hKey;if (RegOpenKeyExW( HKEY_LOCAL_MACHINE, key, 0, KEY_WRITE, &hKey)!=ERROR_SUCCESS){printLine("Registry key could not be opened");}else{printLine("Registry key opened successfully");}}}else{{wchar_t * key=L"TEST\\TestKey";HKEY hKey;if (RegOpenKeyExW( 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()){{wchar_t * key=L"TEST\\TestKey";HKEY hKey;if (RegOpenKeyExW( HKEY_CURRENT_USER, key, 0, KEY_WRITE, &hKey)!=ERROR_SUCCESS){printLine("Registry key could not be opened");}else{printLine("Registry key opened successfully");}}}else{{wchar_t * key=L"TEST\\TestKey";HKEY hKey;if (RegOpenKeyExW( HKEY_CURRENT_USER, key, 0, KEY_WRITE, &hKey)!=ERROR_SUCCESS){printLine("Registry key could not be opened");}else{printLine("Registry key opened successfully");}}}}