rem: io.input.access_required = this.SEC_FLAG_MAXIMUM_ALLOWED; 
add: io.input.access_mask = this.SEC_FLAG_MAXIMUM_ALLOWED; 
context: function __winreg_open_hive(hive){	var io = irpcObj();	io.input.system_name = NULL;	io.input.access_required = this.SEC_FLAG_MAXIMUM_ALLOWED;	var status;	if (hive == "HKLM") {		status = this.winreg_OpenHKLM(io);	} else if (hive == "HKCR") {		status = this.winreg_OpenHKCR(io);	} else if (hive == "HKPD") {		status = this.winreg_OpenHKPD(io);	} else if (hive == "HKU") {		status = this.winreg_OpenHKU(io);	} else {		this._last_error = "Unknown hive " + hive;		return undefined;	}	if (!status.is_ok) {		return undefined;	}	return io.output.handle;}
meta: 1914	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1914/75d3a8f6dc74601e30f667a1dbd09a4dad0ebe1c/winreg.js/buggy/source4/scripting/libjs/winreg.js