C# Class IronPython.Modules.PythonWinReg

显示文件 Open project: jschementi/iron

Public Properties

Property Type Description
HKEY_CLASSES_ROOT BigInteger
HKEY_CURRENT_CONFIG BigInteger
HKEY_CURRENT_USER BigInteger
HKEY_DYN_DATA BigInteger
HKEY_LOCAL_MACHINE BigInteger
HKEY_PERFORMANCE_DATA BigInteger
HKEY_USERS BigInteger
error IronPython.Runtime.Types.PythonType

Public Methods

Method Description
CloseKey ( HKEYType key ) : void
ConnectRegistry ( string computerName, BigInteger key ) : HKEYType
CreateKey ( object key, string subKeyName ) : HKEYType
CreateKeyEx ( object key, string subKeyName, int res, int sam ) : HKEYType
DeleteKey ( object key, string subKeyName ) : void
DeleteValue ( object key, string value ) : void
EnumKey ( object key, int index ) : string
EnumValue ( object key, int index ) : PythonTuple
ExpandEnvironmentStrings ( string value ) : string
FlushKey ( object key ) : void
OpenKey ( object key, string subKeyName ) : HKEYType
OpenKey ( object key, string subKeyName, [ res, [ sam ) : HKEYType
OpenKeyEx ( object key, string subKeyName, [ res, [ sam ) : HKEYType
QueryInfoKey ( object key ) : PythonTuple
QueryValue ( object key, string subKeyName ) : object
QueryValueEx ( object key, string valueName ) : PythonTuple
SetValue ( object key, string subKeyName, int type, string value ) : void
SetValueEx ( object key, string valueName, int reserved, int type, object value ) : void

Private Methods

Method Description
ExtractString ( byte data, int start, int end ) : string
GetRootKey ( object key ) : HKEYType
MapRegistryValueKind ( RegistryValueKind registryValueKind ) : int
MapSystemKey ( BigInteger hKey ) : RegistryHive
QueryValueExImpl ( RegistryKey nativeRootKey, string valueName, int &valueKind, object &value ) : void
RegCreateKeyEx ( SafeRegistryHandle hKey, string lpSubKey, int Reserved, string lpClass, RegistryOptions dwOptions, RegistryRights samDesired, IntPtr lpSecurityAttributes, SafeRegistryHandle &phkResult, int &lpdwDisposition ) : int
RegQueryValueEx ( SafeRegistryHandle hKey, string lpValueName, IntPtr lpReserved, int &lpType, byte lpData, uint &lpcbData ) : int

Method Details

CloseKey() public static method

public static CloseKey ( HKEYType key ) : void
key HKEYType
return void

ConnectRegistry() public static method

public static ConnectRegistry ( string computerName, BigInteger key ) : HKEYType
computerName string
key BigInteger
return HKEYType

CreateKey() public static method

public static CreateKey ( object key, string subKeyName ) : HKEYType
key object
subKeyName string
return HKEYType

CreateKeyEx() public static method

public static CreateKeyEx ( object key, string subKeyName, int res, int sam ) : HKEYType
key object
subKeyName string
res int
sam int
return HKEYType

DeleteKey() public static method

public static DeleteKey ( object key, string subKeyName ) : void
key object
subKeyName string
return void

DeleteValue() public static method

public static DeleteValue ( object key, string value ) : void
key object
value string
return void

EnumKey() public static method

public static EnumKey ( object key, int index ) : string
key object
index int
return string

EnumValue() public static method

public static EnumValue ( object key, int index ) : PythonTuple
key object
index int
return PythonTuple

ExpandEnvironmentStrings() public static method

public static ExpandEnvironmentStrings ( string value ) : string
value string
return string

FlushKey() public static method

public static FlushKey ( object key ) : void
key object
return void

OpenKey() public static method

public static OpenKey ( object key, string subKeyName ) : HKEYType
key object
subKeyName string
return HKEYType

OpenKey() public static method

public static OpenKey ( object key, string subKeyName, [ res, [ sam ) : HKEYType
key object
subKeyName string
res [
sam [
return HKEYType

OpenKeyEx() public static method

public static OpenKeyEx ( object key, string subKeyName, [ res, [ sam ) : HKEYType
key object
subKeyName string
res [
sam [
return HKEYType

QueryInfoKey() public static method

public static QueryInfoKey ( object key ) : PythonTuple
key object
return PythonTuple

QueryValue() public static method

public static QueryValue ( object key, string subKeyName ) : object
key object
subKeyName string
return object

QueryValueEx() public static method

public static QueryValueEx ( object key, string valueName ) : PythonTuple
key object
valueName string
return PythonTuple

SetValue() public static method

public static SetValue ( object key, string subKeyName, int type, string value ) : void
key object
subKeyName string
type int
value string
return void

SetValueEx() public static method

public static SetValueEx ( object key, string valueName, int reserved, int type, object value ) : void
key object
valueName string
reserved int
type int
value object
return void

Property Details

HKEY_CLASSES_ROOT public_oe static_oe property

public static BigInteger HKEY_CLASSES_ROOT
return BigInteger

HKEY_CURRENT_CONFIG public_oe static_oe property

public static BigInteger HKEY_CURRENT_CONFIG
return BigInteger

HKEY_CURRENT_USER public_oe static_oe property

public static BigInteger HKEY_CURRENT_USER
return BigInteger

HKEY_DYN_DATA public_oe static_oe property

public static BigInteger HKEY_DYN_DATA
return BigInteger

HKEY_LOCAL_MACHINE public_oe static_oe property

public static BigInteger HKEY_LOCAL_MACHINE
return BigInteger

HKEY_PERFORMANCE_DATA public_oe static_oe property

public static BigInteger HKEY_PERFORMANCE_DATA
return BigInteger

HKEY_USERS public_oe static_oe property

public static BigInteger HKEY_USERS
return BigInteger

error public_oe static_oe property

public static PythonType,IronPython.Runtime.Types error
return IronPython.Runtime.Types.PythonType