Method | Description | |
---|---|---|
AddRecentFile ( int pos, string fileName ) : void |
Adds a file to the Halo 2 recently used list
|
|
CloseReg ( ) : void |
Closes the Registry read access.
|
|
RegistryAccess ( |
Opens access to reading the registry. Call the CloseReg() function when complete
|
|
copyKey ( |
Copy a registry key. The parentKey must be writeable.
|
|
getKeys ( ) : string[] | ||
getNames ( ) : string[] | ||
getValue ( string valueName ) : string |
Returns a value from the Label in the current path use setKey() to set the current mainKey & path
|
|
getValues ( ) : object[] | ||
removeKey ( |
||
removeValue ( |
Used to remove a value from the registry
|
|
renameSubKey ( |
Renames a subkey of the passed in registry key since the Framework totally forgot to include such a handy feature.
|
|
setKey ( |
Sets the current mainkey & path
|
|
setValue ( |
Sets a registry value
|
Method | Description | |
---|---|---|
recurseCopyKey ( |
public static AddRecentFile ( int pos, string fileName ) : void | ||
pos | int | The position in which to add the fileName (0-9) |
fileName | string | The location and name of the file |
return | void |
public RegistryAccess ( |
||
mainKey | Windows.Win32.Registry (Halo 2 uses CurrentUser) | |
subKey | string | The path to the Label |
return | System |
public static copyKey ( |
||
parentKey | ||
keyNameToCopy | string | |
newKeyName | string | |
return | bool |
public getValue ( string valueName ) : string | ||
valueName | string | The label name to return (Halo 2 uses RegistryAccess.RegNames) |
return | string |
public static removeKey ( |
||
mainKey | ||
subKey | string | |
return | bool |
public static removeValue ( |
||
mainKey | Windows.Win32.Registry (Halo 2 uses CurrentUser) | |
subKey | string | The path to the Label |
valueName | string | The Value Label name to remove |
return | bool |
public static renameSubKey ( |
||
parentKey | ||
subKeyName | string | The name of the subkey that you want to rename /// |
newSubKeyName | string | The new name of the RegistryKey |
return | bool |
public setKey ( |
||
mainKey | Windows.Win32.Registry (Halo 2 uses CurrentUser) | |
subKey | string | The path to the Label |
return | void |
public static setValue ( |
||
mainKey | A Windows.Win32.Registry value (Halo2 uses CurrentUser) | |
subKey | string | The path to the value (Halo 2 uses RegistryAccess.RegPaths) |
valueName | string | The Label of the value (Halo 2 uses RegistryAccess.RegNames) |
value | object | The new value |
return | bool |