D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Win32
/
Filename :
cdesc-Win32.ri
back
Copy
U:RDoc::NormalModule[iI" Win32:ET@0o:RDoc::Markup::Document:@parts[ o;;[ : @fileI"$ext/win32/lib/win32/registry.rb;T:0@omit_headings_from_table_of_contents_below0o;;[S:RDoc::Markup::Heading: leveli: textI"Win32 DNS and DHCP I/F;T; I""ext/win32/lib/win32/resolv.rb;T; 0o;;[ ; @; 0o;;[ ; I"ext/win32/resolv/resolv.c;T; 0; 0; 0[ [ U:RDoc::Constant[i I" WCHAR;TI"Win32::WCHAR;T:public0o;;[S;;i; I"Win32 Registry;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph;[I"Ewin32/registry is registry accessor library for Win32 platform. ;TI"2It uses importer to call Win32 Registry APIs.;T@!S;;i; I"example;To:RDoc::Markup::Verbatim;[I"FWin32::Registry::HKEY_CURRENT_USER.open('SOFTWARE\foo') do |reg| ;TI"G value = reg['foo'] # read a value ;TI"Q value = reg['foo', Win32::Registry::REG_SZ] # read a value with type ;TI"G type, value = reg.read('foo') # read a value ;TI"H reg['foo'] = 'bar' # write a value ;TI"R reg['foo', Win32::Registry::REG_SZ] = 'bar' # write a value with type ;TI"H reg.write('foo', Win32::Registry::REG_SZ, 'bar') # write a value ;TI" ;TI"K reg.each_value { |name, type, data| ... } # Enumerate values ;TI"L reg.each_key { |key, wtime| ... } # Enumerate subkeys ;TI" ;TI"G reg.delete_value(name) # Delete a value ;TI"H reg.delete_key(name) # Delete a subkey ;TI"T reg.delete_key(name, true) # Delete a subkey recursively ;TI" end ;T:@format0S;;i; I"Reference;T@!S;;i; I"Win32::Registry class;T; @; 0@@cRDoc::NormalModule0U;[i I"WCHAR_NUL;TI"Win32::WCHAR_NUL;T;0o;;[ ; @; 0@@@=0U;[i I" WCHAR_CR;TI"Win32::WCHAR_CR;T;0o;;[ ; @; 0@@@=0U;[i I"WCHAR_SIZE;TI"Win32::WCHAR_SIZE;T;0o;;[ ; @; 0@@@=0U;[i I"LOCALE;TI"Win32::LOCALE;T;0o;;[ ; @; 0@@@=0[ [[I" class;T[[;[ [:protected[ [:private[ [I" instance;T[[;[ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[ @@@I"lib/net/http.rb;TI"lib/resolv.rb;T@cRDoc::TopLevel