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