win32console 1.0.8-i386-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. data/Console-i386-mswin32.def +2 -0
  2. data/Console.cpp +1203 -0
  3. data/Console.rdoc +690 -0
  4. data/Console_ANSI.rdoc +302 -0
  5. data/HISTORY.txt +7 -0
  6. data/INSTALL.txt +18 -0
  7. data/README.txt +26 -0
  8. data/Rakefile +38 -0
  9. data/doc/classes/Win32.html +115 -0
  10. data/doc/classes/Win32/Console.html +650 -0
  11. data/doc/classes/Win32/Console.src/M000001.html +31 -0
  12. data/doc/classes/Win32/Console.src/M000002.html +23 -0
  13. data/doc/classes/Win32/Console.src/M000003.html +23 -0
  14. data/doc/classes/Win32/Console.src/M000004.html +27 -0
  15. data/doc/classes/Win32/Console.src/M000005.html +23 -0
  16. data/doc/classes/Win32/Console.src/M000006.html +28 -0
  17. data/doc/classes/Win32/Console.src/M000007.html +23 -0
  18. data/doc/classes/Win32/Console.src/M000008.html +24 -0
  19. data/doc/classes/Win32/Console.src/M000009.html +44 -0
  20. data/doc/classes/Win32/Console.src/M000010.html +23 -0
  21. data/doc/classes/Win32/Console.src/M000011.html +33 -0
  22. data/doc/classes/Win32/Console.src/M000012.html +26 -0
  23. data/doc/classes/Win32/Console.src/M000013.html +27 -0
  24. data/doc/classes/Win32/Console.src/M000014.html +28 -0
  25. data/doc/classes/Win32/Console.src/M000015.html +23 -0
  26. data/doc/classes/Win32/Console.src/M000016.html +23 -0
  27. data/doc/classes/Win32/Console.src/M000017.html +23 -0
  28. data/doc/classes/Win32/Console.src/M000018.html +29 -0
  29. data/doc/classes/Win32/Console.src/M000019.html +23 -0
  30. data/doc/classes/Win32/Console.src/M000020.html +23 -0
  31. data/doc/classes/Win32/Console.src/M000021.html +28 -0
  32. data/doc/classes/Win32/Console.src/M000022.html +23 -0
  33. data/doc/classes/Win32/Console.src/M000023.html +28 -0
  34. data/doc/classes/Win32/Console.src/M000024.html +35 -0
  35. data/doc/classes/Win32/Console.src/M000025.html +28 -0
  36. data/doc/classes/Win32/Console.src/M000026.html +28 -0
  37. data/doc/classes/Win32/Console.src/M000027.html +28 -0
  38. data/doc/classes/Win32/Console.src/M000028.html +31 -0
  39. data/doc/classes/Win32/Console.src/M000029.html +23 -0
  40. data/doc/classes/Win32/Console.src/M000030.html +23 -0
  41. data/doc/classes/Win32/Console.src/M000031.html +23 -0
  42. data/doc/classes/Win32/Console.src/M000032.html +27 -0
  43. data/doc/classes/Win32/Console.src/M000033.html +27 -0
  44. data/doc/classes/Win32/Console.src/M000034.html +25 -0
  45. data/doc/classes/Win32/Console/ANSI.html +103 -0
  46. data/doc/classes/Win32/Console/ANSI/IO.html +220 -0
  47. data/doc/classes/Win32/Console/ANSI/IO.src/M000035.html +32 -0
  48. data/doc/classes/Win32/Console/ANSI/IO.src/M000036.html +205 -0
  49. data/doc/classes/Win32/Console/ANSI/IO.src/M000037.html +40 -0
  50. data/doc/classes/Win32/Console/ANSI/IO.src/M000038.html +25 -0
  51. data/doc/classes/Win32/Console/API.html +758 -0
  52. data/doc/classes/Win32/Console/API.src/M000039.html +27 -0
  53. data/doc/classes/Win32/Console/API.src/M000040.html +27 -0
  54. data/doc/classes/Win32/Console/API.src/M000041.html +27 -0
  55. data/doc/classes/Win32/Console/API.src/M000042.html +32 -0
  56. data/doc/classes/Win32/Console/API.src/M000043.html +32 -0
  57. data/doc/classes/Win32/Console/API.src/M000044.html +28 -0
  58. data/doc/classes/Win32/Console/API.src/M000045.html +26 -0
  59. data/doc/classes/Win32/Console/API.src/M000046.html +26 -0
  60. data/doc/classes/Win32/Console/API.src/M000047.html +27 -0
  61. data/doc/classes/Win32/Console/API.src/M000048.html +30 -0
  62. data/doc/classes/Win32/Console/API.src/M000049.html +29 -0
  63. data/doc/classes/Win32/Console/API.src/M000050.html +27 -0
  64. data/doc/classes/Win32/Console/API.src/M000051.html +28 -0
  65. data/doc/classes/Win32/Console/API.src/M000052.html +30 -0
  66. data/doc/classes/Win32/Console/API.src/M000053.html +27 -0
  67. data/doc/classes/Win32/Console/API.src/M000054.html +29 -0
  68. data/doc/classes/Win32/Console/API.src/M000055.html +29 -0
  69. data/doc/classes/Win32/Console/API.src/M000056.html +28 -0
  70. data/doc/classes/Win32/Console/API.src/M000057.html +27 -0
  71. data/doc/classes/Win32/Console/API.src/M000058.html +47 -0
  72. data/doc/classes/Win32/Console/API.src/M000059.html +32 -0
  73. data/doc/classes/Win32/Console/API.src/M000060.html +47 -0
  74. data/doc/classes/Win32/Console/API.src/M000061.html +34 -0
  75. data/doc/classes/Win32/Console/API.src/M000062.html +32 -0
  76. data/doc/classes/Win32/Console/API.src/M000063.html +32 -0
  77. data/doc/classes/Win32/Console/API.src/M000064.html +35 -0
  78. data/doc/classes/Win32/Console/API.src/M000065.html +26 -0
  79. data/doc/classes/Win32/Console/API.src/M000066.html +27 -0
  80. data/doc/classes/Win32/Console/API.src/M000067.html +29 -0
  81. data/doc/classes/Win32/Console/API.src/M000068.html +27 -0
  82. data/doc/classes/Win32/Console/API.src/M000069.html +27 -0
  83. data/doc/classes/Win32/Console/API.src/M000070.html +28 -0
  84. data/doc/classes/Win32/Console/API.src/M000071.html +27 -0
  85. data/doc/classes/Win32/Console/API.src/M000072.html +26 -0
  86. data/doc/classes/Win32/Console/API.src/M000073.html +27 -0
  87. data/doc/classes/Win32/Console/API.src/M000074.html +31 -0
  88. data/doc/classes/Win32/Console/API.src/M000075.html +27 -0
  89. data/doc/classes/Win32/Console/API.src/M000076.html +32 -0
  90. data/doc/classes/Win32/Console/API.src/M000077.html +27 -0
  91. data/doc/classes/Win32/Console/API.src/M000078.html +32 -0
  92. data/doc/classes/Win32/Console/API.src/M000079.html +32 -0
  93. data/doc/classes/Win32/Console/API.src/M000080.html +32 -0
  94. data/doc/classes/Win32/Console/Constants.html +360 -0
  95. data/doc/created.rid +1 -0
  96. data/doc/files/Console_ANSI_rdoc.html +407 -0
  97. data/doc/files/Console_cpp.html +104 -0
  98. data/doc/files/Console_rdoc.html +964 -0
  99. data/doc/files/lib/Win32/Console/ANSI_rb.html +123 -0
  100. data/doc/files/lib/Win32/Console_rb.html +297 -0
  101. data/doc/fr_class_index.html +32 -0
  102. data/doc/fr_file_index.html +31 -0
  103. data/doc/fr_method_index.html +106 -0
  104. data/doc/index.html +24 -0
  105. data/doc/rdoc-style.css +172 -0
  106. data/lib/Console.so +0 -0
  107. data/lib/README_GEM.txt +64 -0
  108. data/lib/Term/ansicolor.rb +76 -0
  109. data/lib/Win32/Console.rb +970 -0
  110. data/lib/Win32/Console/ANSI.rb +305 -0
  111. data/lib/win32console.rb +3 -0
  112. data/test/test_cursor.rb +9 -0
  113. data/test/test_mouse.rb +6 -0
  114. data/test/test_readinput.rb +62 -0
  115. data/test/test_readoutput.rb +52 -0
  116. data/test/test_sendevent.rb +17 -0
  117. data/test/test_title.rb +14 -0
  118. data/test/test_write.rb +36 -0
  119. metadata +180 -0
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <!--
7
+
8
+ SetConsoleCursorInfo (Win32::Console::API)
9
+
10
+ -->
11
+ <html>
12
+ <head>
13
+ <title>SetConsoleCursorInfo (Win32::Console::API)</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
+ </head>
17
+ <body>
18
+ <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 465</span>
19
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">SetConsoleCursorInfo</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">col</span>, <span class="ruby-identifier">row</span> )
20
+ <span class="ruby-keyword kw">if</span> @<span class="ruby-ivar">@m_SetConsoleCursorInfo</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
21
+ @<span class="ruby-ivar">@m_SetConsoleCursorInfo</span> = <span class="ruby-constant">Win32API</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value str">&quot;kernel32&quot;</span>,
22
+ <span class="ruby-value str">&quot;SetConsoleCursorInfo&quot;</span>,
23
+ [<span class="ruby-value str">'l'</span>, <span class="ruby-value str">'p'</span>], <span class="ruby-value str">'l'</span> )
24
+ <span class="ruby-keyword kw">end</span>
25
+ <span class="ruby-identifier">lpConsoleCursorInfo</span> = [<span class="ruby-identifier">size</span>,<span class="ruby-identifier">visi</span>].<span class="ruby-identifier">pack</span>(<span class="ruby-value str">'LL'</span>)
26
+ @<span class="ruby-ivar">@m_SetConsoleCursorInfo</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">lpConsoleCursorInfo</span> )
27
+ <span class="ruby-keyword kw">end</span></pre>
28
+ </body>
29
+ </html>
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <!--
7
+
8
+ SetConsoleCursorPosition (Win32::Console::API)
9
+
10
+ -->
11
+ <html>
12
+ <head>
13
+ <title>SetConsoleCursorPosition (Win32::Console::API)</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
+ </head>
17
+ <body>
18
+ <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 475</span>
19
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">SetConsoleCursorPosition</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">col</span>, <span class="ruby-identifier">row</span> )
20
+ <span class="ruby-keyword kw">if</span> @<span class="ruby-ivar">@m_SetConsoleCursorPosition</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
21
+ @<span class="ruby-ivar">@m_SetConsoleCursorPosition</span> = <span class="ruby-constant">Win32API</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value str">&quot;kernel32&quot;</span>, <span class="ruby-value str">&quot;SetConsoleCursorPosition&quot;</span>, [<span class="ruby-value str">'l'</span>, <span class="ruby-value str">'p'</span>], <span class="ruby-value str">'l'</span> )
22
+ <span class="ruby-keyword kw">end</span>
23
+ <span class="ruby-identifier">dwCursorPosition</span> = (<span class="ruby-identifier">row</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value">16</span>) <span class="ruby-operator">+</span> <span class="ruby-identifier">col</span>
24
+ @<span class="ruby-ivar">@m_SetConsoleCursorPosition</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">dwCursorPosition</span> )
25
+ <span class="ruby-keyword kw">end</span></pre>
26
+ </body>
27
+ </html>
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <!--
7
+
8
+ SetConsoleMode (Win32::Console::API)
9
+
10
+ -->
11
+ <html>
12
+ <head>
13
+ <title>SetConsoleMode (Win32::Console::API)</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
+ </head>
17
+ <body>
18
+ <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 483</span>
19
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">SetConsoleMode</span>( <span class="ruby-identifier">hConsoleHandle</span>, <span class="ruby-identifier">lpMode</span> )
20
+ <span class="ruby-keyword kw">if</span> @<span class="ruby-ivar">@m_SetConsoleMode</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
21
+ @<span class="ruby-ivar">@m_SetConsoleMode</span> = <span class="ruby-constant">Win32API</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value str">&quot;kernel32&quot;</span>, <span class="ruby-value str">&quot;SetConsoleMode&quot;</span>,
22
+ [<span class="ruby-value str">'l'</span>, <span class="ruby-value str">'p'</span>], <span class="ruby-value str">'l'</span> )
23
+ <span class="ruby-keyword kw">end</span>
24
+ @<span class="ruby-ivar">@m_SetConsoleMode</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">hConsoleHandle</span>, <span class="ruby-identifier">lpMode</span> )
25
+ <span class="ruby-keyword kw">end</span></pre>
26
+ </body>
27
+ </html>
@@ -0,0 +1,28 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <!--
7
+
8
+ SetConsoleOutputCP (Win32::Console::API)
9
+
10
+ -->
11
+ <html>
12
+ <head>
13
+ <title>SetConsoleOutputCP (Win32::Console::API)</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
+ </head>
17
+ <body>
18
+ <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 491</span>
19
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">SetConsoleOutputCP</span>( <span class="ruby-identifier">wCodePageID</span> )
20
+ <span class="ruby-keyword kw">if</span> @<span class="ruby-ivar">@m_SetConsoleOutputCP</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
21
+ @<span class="ruby-ivar">@m_SetConsoleOutputCP</span> = <span class="ruby-constant">Win32API</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value str">&quot;kernel32&quot;</span>,
22
+ <span class="ruby-value str">&quot;GetConsoleOutputCP&quot;</span>,
23
+ [<span class="ruby-value str">'l'</span>], <span class="ruby-value str">'l'</span> )
24
+ <span class="ruby-keyword kw">end</span>
25
+ @<span class="ruby-ivar">@m_SetConsoleOutputCP</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">wCodePageID</span> )
26
+ <span class="ruby-keyword kw">end</span></pre>
27
+ </body>
28
+ </html>
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <!--
7
+
8
+ SetConsoleScreenBufferSize (Win32::Console::API)
9
+
10
+ -->
11
+ <html>
12
+ <head>
13
+ <title>SetConsoleScreenBufferSize (Win32::Console::API)</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
+ </head>
17
+ <body>
18
+ <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 500</span>
19
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">SetConsoleScreenBufferSize</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">col</span>, <span class="ruby-identifier">row</span> )
20
+ <span class="ruby-keyword kw">if</span> @<span class="ruby-ivar">@m_SetConsoleScreenBufferSize</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
21
+ @<span class="ruby-ivar">@m_SetConsoleScreenBufferSize</span> = <span class="ruby-constant">Win32API</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value str">&quot;kernel32&quot;</span>, <span class="ruby-value str">&quot;SetConsoleScreenBufferSize&quot;</span>, [<span class="ruby-value str">'l'</span>, <span class="ruby-value str">'l'</span>], <span class="ruby-value str">'l'</span> )
22
+ <span class="ruby-keyword kw">end</span>
23
+ <span class="ruby-identifier">dwSize</span> = (<span class="ruby-identifier">row</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value">16</span>) <span class="ruby-operator">+</span> <span class="ruby-identifier">col</span>
24
+ @<span class="ruby-ivar">@m_SetConsoleScreenBufferSize</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">dwSize</span> )
25
+ <span class="ruby-keyword kw">end</span></pre>
26
+ </body>
27
+ </html>
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <!--
7
+
8
+ SetConsoleTextAttribute (Win32::Console::API)
9
+
10
+ -->
11
+ <html>
12
+ <head>
13
+ <title>SetConsoleTextAttribute (Win32::Console::API)</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
+ </head>
17
+ <body>
18
+ <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 508</span>
19
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">SetConsoleTextAttribute</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">wAttributes</span> )
20
+ <span class="ruby-keyword kw">if</span> @<span class="ruby-ivar">@m_SetConsoleTextAttribute</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
21
+ @<span class="ruby-ivar">@m_SetConsoleTextAttribute</span> = <span class="ruby-constant">Win32API</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value str">&quot;kernel32&quot;</span>, <span class="ruby-value str">&quot;SetConsoleTextAttribute&quot;</span>, [<span class="ruby-value str">'l'</span>, <span class="ruby-value str">'i'</span>], <span class="ruby-value str">'l'</span> )
22
+ <span class="ruby-keyword kw">end</span>
23
+ @<span class="ruby-ivar">@m_SetConsoleTextAttribute</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">wAttributes</span> )
24
+ <span class="ruby-keyword kw">end</span></pre>
25
+ </body>
26
+ </html>
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <!--
7
+
8
+ SetConsoleTitle (Win32::Console::API)
9
+
10
+ -->
11
+ <html>
12
+ <head>
13
+ <title>SetConsoleTitle (Win32::Console::API)</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
+ </head>
17
+ <body>
18
+ <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 515</span>
19
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">SetConsoleTitle</span>( <span class="ruby-identifier">lpConsoleTitle</span> )
20
+ <span class="ruby-keyword kw">if</span> @<span class="ruby-ivar">@m_SetConsoleTitle</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
21
+ @<span class="ruby-ivar">@m_SetConsoleTitle</span> = <span class="ruby-constant">Win32API</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value str">&quot;kernel32&quot;</span>, <span class="ruby-value str">&quot;SetConsoleTitle&quot;</span>,
22
+ [<span class="ruby-value str">'p'</span>], <span class="ruby-value str">'l'</span> )
23
+ <span class="ruby-keyword kw">end</span>
24
+ @<span class="ruby-ivar">@m_SetConsoleTitle</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">lpConsoleTitle</span> )
25
+ <span class="ruby-keyword kw">end</span></pre>
26
+ </body>
27
+ </html>
@@ -0,0 +1,31 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <!--
7
+
8
+ SetConsoleWindowInfo (Win32::Console::API)
9
+
10
+ -->
11
+ <html>
12
+ <head>
13
+ <title>SetConsoleWindowInfo (Win32::Console::API)</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
+ </head>
17
+ <body>
18
+ <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 523</span>
19
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">SetConsoleWindowInfo</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">bAbsolute</span>,
20
+ <span class="ruby-identifier">left</span>, <span class="ruby-identifier">top</span>, <span class="ruby-identifier">right</span>, <span class="ruby-identifier">bottom</span> )
21
+ <span class="ruby-keyword kw">if</span> @<span class="ruby-ivar">@m_SetConsoleWindowInfo</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
22
+ @<span class="ruby-ivar">@m_SetConsoleWindowInfo</span> = <span class="ruby-constant">Win32API</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value str">&quot;kernel32&quot;</span>,
23
+ <span class="ruby-value str">&quot;SetConsoleWindowInfo&quot;</span>,
24
+ [<span class="ruby-value str">'l'</span>, <span class="ruby-value str">'l'</span>, <span class="ruby-value str">'p'</span>], <span class="ruby-value str">'l'</span> )
25
+ <span class="ruby-keyword kw">end</span>
26
+ <span class="ruby-identifier">lpConsoleWindow</span> = [ <span class="ruby-identifier">left</span>, <span class="ruby-identifier">top</span>, <span class="ruby-identifier">right</span>, <span class="ruby-identifier">bottom</span> ].<span class="ruby-identifier">pack</span>(<span class="ruby-value str">'ssss'</span>)
27
+ @<span class="ruby-ivar">@m_SetConsoleWindowInfo</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">bAbsolute</span>,
28
+ <span class="ruby-identifier">lpConsoleWindow</span> )
29
+ <span class="ruby-keyword kw">end</span></pre>
30
+ </body>
31
+ </html>
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <!--
7
+
8
+ SetStdHandle (Win32::Console::API)
9
+
10
+ -->
11
+ <html>
12
+ <head>
13
+ <title>SetStdHandle (Win32::Console::API)</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
+ </head>
17
+ <body>
18
+ <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 535</span>
19
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">SetStdHandle</span>( <span class="ruby-identifier">nStdHandle</span>, <span class="ruby-identifier">hHandle</span> )
20
+ <span class="ruby-keyword kw">if</span> @<span class="ruby-ivar">@m_SetStdHandle</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
21
+ @<span class="ruby-ivar">@m_SetStdHandle</span> = <span class="ruby-constant">Win32API</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value str">&quot;kernel32&quot;</span>, <span class="ruby-value str">&quot;SetStdHandle&quot;</span>,
22
+ [<span class="ruby-value str">'l'</span>, <span class="ruby-value str">'l'</span>], <span class="ruby-value str">'l'</span> )
23
+ <span class="ruby-keyword kw">end</span>
24
+ @<span class="ruby-ivar">@m_SetStdHandle</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">nStdHandle</span>, <span class="ruby-identifier">hHandle</span> )
25
+ <span class="ruby-keyword kw">end</span></pre>
26
+ </body>
27
+ </html>
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <!--
7
+
8
+ WriteConsole (Win32::Console::API)
9
+
10
+ -->
11
+ <html>
12
+ <head>
13
+ <title>WriteConsole (Win32::Console::API)</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
+ </head>
17
+ <body>
18
+ <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 543</span>
19
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">WriteConsole</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">lpBuffer</span> )
20
+ <span class="ruby-keyword kw">if</span> @<span class="ruby-ivar">@m_WriteConsole</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
21
+ @<span class="ruby-ivar">@m_WriteConsole</span> = <span class="ruby-constant">Win32API</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value str">&quot;kernel32&quot;</span>, <span class="ruby-value str">&quot;WriteConsole&quot;</span>,
22
+ [<span class="ruby-value str">'l'</span>, <span class="ruby-value str">'p'</span>, <span class="ruby-value str">'l'</span>, <span class="ruby-value str">'p'</span>, <span class="ruby-value str">'p'</span>], <span class="ruby-value str">'l'</span> )
23
+ <span class="ruby-keyword kw">end</span>
24
+ <span class="ruby-identifier">nNumberOfCharsToWrite</span> = <span class="ruby-identifier">lpBuffer</span>.<span class="ruby-identifier">length</span>()
25
+ <span class="ruby-identifier">lpNumberOfCharsWritten</span> = <span class="ruby-value str">' '</span> <span class="ruby-operator">*</span> <span class="ruby-value">4</span>
26
+ <span class="ruby-identifier">lpReserved</span> = <span class="ruby-value str">' '</span> <span class="ruby-operator">*</span> <span class="ruby-value">4</span>
27
+ @<span class="ruby-ivar">@m_WriteConsole</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">lpBuffer</span>, <span class="ruby-identifier">nNumberOfCharsToWrite</span>,
28
+ <span class="ruby-identifier">lpNumberOfCharsWritten</span>, <span class="ruby-identifier">lpReserved</span> )
29
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">lpNumberOfCharsWritten</span>
30
+ <span class="ruby-keyword kw">end</span></pre>
31
+ </body>
32
+ </html>
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <!--
7
+
8
+ WriteConsoleInput (Win32::Console::API)
9
+
10
+ -->
11
+ <html>
12
+ <head>
13
+ <title>WriteConsoleInput (Win32::Console::API)</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
+ </head>
17
+ <body>
18
+ <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 556</span>
19
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">WriteConsoleInput</span>( <span class="ruby-identifier">hConsoleInput</span>, <span class="ruby-identifier">lpBuffer</span> )
20
+ <span class="ruby-keyword kw">if</span> @<span class="ruby-ivar">@m_WriteConsoleInput</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
21
+ @<span class="ruby-ivar">@m_WriteConsoleInput</span> = <span class="ruby-constant">Win32API</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value str">&quot;kernel32&quot;</span>, <span class="ruby-value str">&quot;WriteConsoleInput&quot;</span>, [<span class="ruby-value str">'l'</span>, <span class="ruby-value str">'p'</span>, <span class="ruby-value str">'l'</span>, <span class="ruby-value str">'p'</span>], <span class="ruby-value str">'l'</span> )
22
+ <span class="ruby-keyword kw">end</span>
23
+ @<span class="ruby-ivar">@m_WriteConsoleInput</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">hConsoleInput</span>, <span class="ruby-identifier">lpBuffer</span>, <span class="ruby-identifier">nLength</span>,
24
+ <span class="ruby-identifier">lpNumberOfEventsWritten</span> )
25
+ <span class="ruby-keyword kw">end</span></pre>
26
+ </body>
27
+ </html>
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <!--
7
+
8
+ WriteConsoleOutput (Win32::Console::API)
9
+
10
+ -->
11
+ <html>
12
+ <head>
13
+ <title>WriteConsoleOutput (Win32::Console::API)</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
+ </head>
17
+ <body>
18
+ <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 565</span>
19
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">WriteConsoleOutput</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">buffer</span>, <span class="ruby-identifier">cols</span>, <span class="ruby-identifier">rows</span>,
20
+ <span class="ruby-identifier">bufx</span>, <span class="ruby-identifier">bufy</span>, <span class="ruby-identifier">left</span>, <span class="ruby-identifier">top</span>, <span class="ruby-identifier">right</span>, <span class="ruby-identifier">bottom</span> )
21
+ <span class="ruby-keyword kw">if</span> @<span class="ruby-ivar">@m_WriteConsoleOutput</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
22
+ @<span class="ruby-ivar">@m_WriteConsoleOutput</span> = <span class="ruby-constant">Win32API</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value str">&quot;kernel32&quot;</span>, <span class="ruby-value str">&quot;WriteConsoleOutput&quot;</span>, [<span class="ruby-value str">'l'</span>, <span class="ruby-value str">'p'</span>, <span class="ruby-value str">'l'</span>, <span class="ruby-value str">'l'</span>, <span class="ruby-value str">'p'</span>], <span class="ruby-value str">'l'</span> )
23
+ <span class="ruby-keyword kw">end</span>
24
+ <span class="ruby-identifier">lpBuffer</span> = <span class="ruby-identifier">buffer</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">pack</span>(<span class="ruby-value str">'ss'</span> <span class="ruby-operator">*</span> <span class="ruby-identifier">buffer</span>.<span class="ruby-identifier">length</span>() <span class="ruby-operator">*</span> <span class="ruby-value">2</span>)
25
+ <span class="ruby-identifier">dwBufferSize</span> = (<span class="ruby-identifier">buffer</span>.<span class="ruby-identifier">length</span>() <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value">16</span>) <span class="ruby-operator">+</span> <span class="ruby-value">2</span>
26
+ <span class="ruby-identifier">dwBufferCoord</span> = (<span class="ruby-identifier">row</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value">16</span>) <span class="ruby-operator">+</span> <span class="ruby-identifier">col</span>
27
+ <span class="ruby-identifier">lpWriteRegion</span> = [ <span class="ruby-identifier">left</span>, <span class="ruby-identifier">top</span>, <span class="ruby-identifier">right</span>, <span class="ruby-identifier">bottom</span> ].<span class="ruby-identifier">pack</span>(<span class="ruby-value str">'ssss'</span>)
28
+ @<span class="ruby-ivar">@m_WriteConsoleOutput</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">lpBuffer</span>, <span class="ruby-identifier">dwBufferSize</span>,
29
+ <span class="ruby-identifier">dwBufferCoord</span>, <span class="ruby-identifier">lpWriteRegion</span> )
30
+ <span class="ruby-keyword kw">end</span></pre>
31
+ </body>
32
+ </html>
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <!--
7
+
8
+ WriteConsoleOutputAttribute (Win32::Console::API)
9
+
10
+ -->
11
+ <html>
12
+ <head>
13
+ <title>WriteConsoleOutputAttribute (Win32::Console::API)</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
+ </head>
17
+ <body>
18
+ <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 578</span>
19
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">WriteConsoleOutputAttribute</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">lpAttribute</span>, <span class="ruby-identifier">col</span>, <span class="ruby-identifier">row</span> )
20
+ <span class="ruby-keyword kw">if</span> @<span class="ruby-ivar">@m_WriteConsoleOutputAttribute</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
21
+ @<span class="ruby-ivar">@m_WriteConsoleOutputAttribute</span> = <span class="ruby-constant">Win32API</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value str">&quot;kernel32&quot;</span>, <span class="ruby-value str">&quot;WriteConsoleOutputAttribute&quot;</span>, [<span class="ruby-value str">'l'</span>, <span class="ruby-value str">'p'</span>, <span class="ruby-value str">'l'</span>, <span class="ruby-value str">'l'</span>, <span class="ruby-value str">'p'</span>], <span class="ruby-value str">'l'</span> )
22
+ <span class="ruby-keyword kw">end</span>
23
+ <span class="ruby-identifier">nLength</span> = <span class="ruby-identifier">lpAttribute</span>.<span class="ruby-identifier">length</span>()
24
+ <span class="ruby-identifier">dwWriteCoord</span> = (<span class="ruby-identifier">row</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value">16</span>) <span class="ruby-operator">+</span> <span class="ruby-identifier">col</span>
25
+ <span class="ruby-identifier">lpNumberOfAttrsWritten</span> = <span class="ruby-value str">' '</span> <span class="ruby-operator">*</span> <span class="ruby-value">4</span>
26
+ @<span class="ruby-ivar">@m_WriteConsoleOutputAttribute</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">lpAttribute</span>,
27
+ <span class="ruby-identifier">nLength</span>, <span class="ruby-identifier">dwWriteCoord</span>,
28
+ <span class="ruby-identifier">lpNumberOfAttrsWritten</span> )
29
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">lpNumberOfAttrsWritten</span>.<span class="ruby-identifier">unpack</span>(<span class="ruby-value str">'L'</span>)
30
+ <span class="ruby-keyword kw">end</span></pre>
31
+ </body>
32
+ </html>
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <!--
7
+
8
+ WriteConsoleOutputCharacter (Win32::Console::API)
9
+
10
+ -->
11
+ <html>
12
+ <head>
13
+ <title>WriteConsoleOutputCharacter (Win32::Console::API)</title>
14
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
+ <link rel="stylesheet" href="http://www.FaerieMUD.org/stylesheets/rdoc.css" type="text/css" />
16
+ </head>
17
+ <body>
18
+ <pre><span class="ruby-comment cmt"># File lib\Win32/Console.rb, line 591</span>
19
+ <span class="ruby-keyword kw">def</span> <span class="ruby-constant">WriteConsoleOutputCharacter</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">lpCharacter</span>, <span class="ruby-identifier">col</span>, <span class="ruby-identifier">row</span> )
20
+ <span class="ruby-keyword kw">if</span> @<span class="ruby-ivar">@m_WriteConsoleOutputCharacter</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">nil</span>
21
+ @<span class="ruby-ivar">@m_WriteConsoleOutputCharacter</span> = <span class="ruby-constant">Win32API</span>.<span class="ruby-identifier">new</span>( <span class="ruby-value str">&quot;kernel32&quot;</span>, <span class="ruby-value str">&quot;WriteConsoleOutputCharacter&quot;</span>, [<span class="ruby-value str">'l'</span>, <span class="ruby-value str">'p'</span>, <span class="ruby-value str">'l'</span>, <span class="ruby-value str">'l'</span>, <span class="ruby-value str">'p'</span>], <span class="ruby-value str">'l'</span> )
22
+ <span class="ruby-keyword kw">end</span>
23
+ <span class="ruby-identifier">nLength</span> = <span class="ruby-identifier">lpCharacter</span>.<span class="ruby-identifier">length</span>()
24
+ <span class="ruby-identifier">dwWriteCoord</span> = (<span class="ruby-identifier">row</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value">16</span>) <span class="ruby-operator">+</span> <span class="ruby-identifier">col</span>
25
+ <span class="ruby-identifier">lpNumberOfCharsWritten</span> = <span class="ruby-value str">' '</span> <span class="ruby-operator">*</span> <span class="ruby-value">4</span>
26
+ @<span class="ruby-ivar">@m_WriteConsoleOutputCharacter</span>.<span class="ruby-identifier">call</span>( <span class="ruby-identifier">hConsoleOutput</span>, <span class="ruby-identifier">lpCharacter</span>,
27
+ <span class="ruby-identifier">nLength</span>, <span class="ruby-identifier">dwWriteCoord</span>,
28
+ <span class="ruby-identifier">lpNumberOfCharsWritten</span> )
29
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">lpNumberOfCharsWritten</span>.<span class="ruby-identifier">unpack</span>(<span class="ruby-value str">'L'</span>)
30
+ <span class="ruby-keyword kw">end</span></pre>
31
+ </body>
32
+ </html>
@@ -0,0 +1,360 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Module: Win32::Console::Constants</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <h1>Win32::Console::Constants <sup class="type-note">(Module)</sup></h1>
51
+ <table class="header-table">
52
+ <tr class="top-aligned-row">
53
+ <td><strong>In:</strong></td>
54
+ <td>
55
+ <a href="../../../files/lib\Win32/Console_rb.html">
56
+ lib\Win32/Console.rb
57
+ </a>
58
+ <br />
59
+ </td>
60
+ </tr>
61
+
62
+ </table>
63
+ </div>
64
+ <!-- banner header -->
65
+
66
+ <div id="bodyContent">
67
+
68
+
69
+ <div id="contextContent">
70
+
71
+
72
+
73
+
74
+ <div id="constants-list">
75
+ <h2 class="section-bar">Constants</h2>
76
+
77
+ <div class="name-list">
78
+ <table summary="Constants">
79
+ <tr class="top-aligned-row context-row">
80
+ <td class="context-item-name">STD_INPUT_HANDLE</td>
81
+ <td>=</td>
82
+ <td class="context-item-value">0xFFFFFFF6</td>
83
+ </tr>
84
+ <tr class="top-aligned-row context-row">
85
+ <td class="context-item-name">STD_OUTPUT_HANDLE</td>
86
+ <td>=</td>
87
+ <td class="context-item-value">0xFFFFFFF5</td>
88
+ </tr>
89
+ <tr class="top-aligned-row context-row">
90
+ <td class="context-item-name">STD_ERROR_HANDLE</td>
91
+ <td>=</td>
92
+ <td class="context-item-value">0xFFFFFFF4</td>
93
+ </tr>
94
+ <tr class="top-aligned-row context-row">
95
+ <td class="context-item-name">INVALID_HANDLE_VALUE</td>
96
+ <td>=</td>
97
+ <td class="context-item-value">0xFFFFFFFF</td>
98
+ </tr>
99
+ <tr class="top-aligned-row context-row">
100
+ <td class="context-item-name">GENERIC_READ</td>
101
+ <td>=</td>
102
+ <td class="context-item-value">0x80000000</td>
103
+ </tr>
104
+ <tr class="top-aligned-row context-row">
105
+ <td class="context-item-name">GENERIC_WRITE</td>
106
+ <td>=</td>
107
+ <td class="context-item-value">0x40000000</td>
108
+ </tr>
109
+ <tr class="top-aligned-row context-row">
110
+ <td class="context-item-name">FILE_SHARE_READ</td>
111
+ <td>=</td>
112
+ <td class="context-item-value">0x00000001</td>
113
+ </tr>
114
+ <tr class="top-aligned-row context-row">
115
+ <td class="context-item-name">FILE_SHARE_WRITE</td>
116
+ <td>=</td>
117
+ <td class="context-item-value">0x00000002</td>
118
+ </tr>
119
+ <tr class="top-aligned-row context-row">
120
+ <td class="context-item-name">CONSOLE_TEXTMODE_BUFFER</td>
121
+ <td>=</td>
122
+ <td class="context-item-value">0x00000001</td>
123
+ </tr>
124
+ <tr class="top-aligned-row context-row">
125
+ <td class="context-item-name">FOREGROUND_BLUE</td>
126
+ <td>=</td>
127
+ <td class="context-item-value">0x0001</td>
128
+ </tr>
129
+ <tr class="top-aligned-row context-row">
130
+ <td class="context-item-name">FOREGROUND_GREEN</td>
131
+ <td>=</td>
132
+ <td class="context-item-value">0x0002</td>
133
+ </tr>
134
+ <tr class="top-aligned-row context-row">
135
+ <td class="context-item-name">FOREGROUND_RED</td>
136
+ <td>=</td>
137
+ <td class="context-item-value">0x0004</td>
138
+ </tr>
139
+ <tr class="top-aligned-row context-row">
140
+ <td class="context-item-name">FOREGROUND_INTENSITY</td>
141
+ <td>=</td>
142
+ <td class="context-item-value">0x0008</td>
143
+ </tr>
144
+ <tr class="top-aligned-row context-row">
145
+ <td class="context-item-name">BACKGROUND_BLUE</td>
146
+ <td>=</td>
147
+ <td class="context-item-value">0x0010</td>
148
+ </tr>
149
+ <tr class="top-aligned-row context-row">
150
+ <td class="context-item-name">BACKGROUND_GREEN</td>
151
+ <td>=</td>
152
+ <td class="context-item-value">0x0020</td>
153
+ </tr>
154
+ <tr class="top-aligned-row context-row">
155
+ <td class="context-item-name">BACKGROUND_RED</td>
156
+ <td>=</td>
157
+ <td class="context-item-value">0x0040</td>
158
+ </tr>
159
+ <tr class="top-aligned-row context-row">
160
+ <td class="context-item-name">BACKGROUND_INTENSITY</td>
161
+ <td>=</td>
162
+ <td class="context-item-value">0x0080</td>
163
+ </tr>
164
+ <tr class="top-aligned-row context-row">
165
+ <td class="context-item-name">ENABLE_PROCESSED_INPUT</td>
166
+ <td>=</td>
167
+ <td class="context-item-value">0x0001</td>
168
+ </tr>
169
+ <tr class="top-aligned-row context-row">
170
+ <td class="context-item-name">ENABLE_LINE_INPUT</td>
171
+ <td>=</td>
172
+ <td class="context-item-value">0x0002</td>
173
+ </tr>
174
+ <tr class="top-aligned-row context-row">
175
+ <td class="context-item-name">ENABLE_ECHO_INPUT</td>
176
+ <td>=</td>
177
+ <td class="context-item-value">0x0004</td>
178
+ </tr>
179
+ <tr class="top-aligned-row context-row">
180
+ <td class="context-item-name">ENABLE_WINDOW_INPUT</td>
181
+ <td>=</td>
182
+ <td class="context-item-value">0x0008</td>
183
+ </tr>
184
+ <tr class="top-aligned-row context-row">
185
+ <td class="context-item-name">ENABLE_MOUSE_INPUT</td>
186
+ <td>=</td>
187
+ <td class="context-item-value">0x0010</td>
188
+ </tr>
189
+ <tr class="top-aligned-row context-row">
190
+ <td class="context-item-name">ENABLE_PROCESSED_OUTPUT</td>
191
+ <td>=</td>
192
+ <td class="context-item-value">0x0001</td>
193
+ </tr>
194
+ <tr class="top-aligned-row context-row">
195
+ <td class="context-item-name">ENABLE_WRAP_AT_EOL_OUTPUT</td>
196
+ <td>=</td>
197
+ <td class="context-item-value">0x0002</td>
198
+ </tr>
199
+ <tr class="top-aligned-row context-row">
200
+ <td class="context-item-name">KEY_EVENT</td>
201
+ <td>=</td>
202
+ <td class="context-item-value">0x0001</td>
203
+ </tr>
204
+ <tr class="top-aligned-row context-row">
205
+ <td class="context-item-name">MOUSE_EVENT</td>
206
+ <td>=</td>
207
+ <td class="context-item-value">0x0002</td>
208
+ </tr>
209
+ <tr class="top-aligned-row context-row">
210
+ <td class="context-item-name">WINDOW_BUFFER_SIZE_EVENT</td>
211
+ <td>=</td>
212
+ <td class="context-item-value">0x0004</td>
213
+ </tr>
214
+ <tr class="top-aligned-row context-row">
215
+ <td class="context-item-name">MENU_EVENT</td>
216
+ <td>=</td>
217
+ <td class="context-item-value">0x0008</td>
218
+ </tr>
219
+ <tr class="top-aligned-row context-row">
220
+ <td class="context-item-name">FOCUS_EVENT</td>
221
+ <td>=</td>
222
+ <td class="context-item-value">0x0010</td>
223
+ </tr>
224
+ <tr class="top-aligned-row context-row">
225
+ <td class="context-item-name">CAPSLOCK_ON</td>
226
+ <td>=</td>
227
+ <td class="context-item-value">0x0080</td>
228
+ </tr>
229
+ <tr class="top-aligned-row context-row">
230
+ <td class="context-item-name">ENHANCED_KEY</td>
231
+ <td>=</td>
232
+ <td class="context-item-value">0x0100</td>
233
+ </tr>
234
+ <tr class="top-aligned-row context-row">
235
+ <td class="context-item-name">NUMLOCK_ON</td>
236
+ <td>=</td>
237
+ <td class="context-item-value">0x0020</td>
238
+ </tr>
239
+ <tr class="top-aligned-row context-row">
240
+ <td class="context-item-name">SHIFT_PRESSED</td>
241
+ <td>=</td>
242
+ <td class="context-item-value">0x0010</td>
243
+ </tr>
244
+ <tr class="top-aligned-row context-row">
245
+ <td class="context-item-name">LEFT_CTRL_PRESSED</td>
246
+ <td>=</td>
247
+ <td class="context-item-value">0x0008</td>
248
+ </tr>
249
+ <tr class="top-aligned-row context-row">
250
+ <td class="context-item-name">RIGHT_CTRL_PRESSED</td>
251
+ <td>=</td>
252
+ <td class="context-item-value">0x0004</td>
253
+ </tr>
254
+ <tr class="top-aligned-row context-row">
255
+ <td class="context-item-name">LEFT_ALT_PRESSED</td>
256
+ <td>=</td>
257
+ <td class="context-item-value">0x0002</td>
258
+ </tr>
259
+ <tr class="top-aligned-row context-row">
260
+ <td class="context-item-name">RIGHT_ALT_PRESSED</td>
261
+ <td>=</td>
262
+ <td class="context-item-value">0x0001</td>
263
+ </tr>
264
+ <tr class="top-aligned-row context-row">
265
+ <td class="context-item-name">SCROLLLOCK_ON</td>
266
+ <td>=</td>
267
+ <td class="context-item-value">0x0040</td>
268
+ </tr>
269
+ <tr class="top-aligned-row context-row">
270
+ <td class="context-item-name">MOUSE_WHEELED</td>
271
+ <td>=</td>
272
+ <td class="context-item-value">0x0004</td>
273
+ </tr>
274
+ <tr class="top-aligned-row context-row">
275
+ <td class="context-item-name">DOUBLE_CLICK</td>
276
+ <td>=</td>
277
+ <td class="context-item-value">0x0002</td>
278
+ </tr>
279
+ <tr class="top-aligned-row context-row">
280
+ <td class="context-item-name">MOUSE_MOVED</td>
281
+ <td>=</td>
282
+ <td class="context-item-value">0x0001</td>
283
+ </tr>
284
+ <tr class="top-aligned-row context-row">
285
+ <td class="context-item-name">FROM_LEFT_1ST_BUTTON_PRESSED</td>
286
+ <td>=</td>
287
+ <td class="context-item-value">0x0001</td>
288
+ </tr>
289
+ <tr class="top-aligned-row context-row">
290
+ <td class="context-item-name">FROM_LEFT_2ND_BUTTON_PRESSED</td>
291
+ <td>=</td>
292
+ <td class="context-item-value">0x0004</td>
293
+ </tr>
294
+ <tr class="top-aligned-row context-row">
295
+ <td class="context-item-name">FROM_LEFT_3RD_BUTTON_PRESSED</td>
296
+ <td>=</td>
297
+ <td class="context-item-value">0x0008</td>
298
+ </tr>
299
+ <tr class="top-aligned-row context-row">
300
+ <td class="context-item-name">FROM_LEFT_4TH_BUTTON_PRESSED</td>
301
+ <td>=</td>
302
+ <td class="context-item-value">0x0010</td>
303
+ </tr>
304
+ <tr class="top-aligned-row context-row">
305
+ <td class="context-item-name">RIGHTMOST_BUTTON_PRESSED</td>
306
+ <td>=</td>
307
+ <td class="context-item-value">0x0002</td>
308
+ </tr>
309
+ <tr class="top-aligned-row context-row">
310
+ <td class="context-item-name">CTRL_C_EVENT</td>
311
+ <td>=</td>
312
+ <td class="context-item-value">0x0000</td>
313
+ </tr>
314
+ <tr class="top-aligned-row context-row">
315
+ <td class="context-item-name">CTRL_BREAK_EVENT</td>
316
+ <td>=</td>
317
+ <td class="context-item-value">0x0001</td>
318
+ </tr>
319
+ <tr class="top-aligned-row context-row">
320
+ <td class="context-item-name">CTRL_CLOSE_EVENT</td>
321
+ <td>=</td>
322
+ <td class="context-item-value">0x0002</td>
323
+ </tr>
324
+ <tr class="top-aligned-row context-row">
325
+ <td class="context-item-name">CTRL_LOGOFF_EVENT</td>
326
+ <td>=</td>
327
+ <td class="context-item-value">0x0005</td>
328
+ </tr>
329
+ <tr class="top-aligned-row context-row">
330
+ <td class="context-item-name">CTRL_SHUTDOWN_EVENT</td>
331
+ <td>=</td>
332
+ <td class="context-item-value">0x0006</td>
333
+ </tr>
334
+ </table>
335
+ </div>
336
+ </div>
337
+
338
+
339
+
340
+
341
+
342
+ </div>
343
+
344
+
345
+
346
+ <!-- if includes -->
347
+
348
+
349
+ <!-- if method_list -->
350
+
351
+
352
+ </div>
353
+
354
+
355
+ <div id="validator-badges">
356
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
357
+ </div>
358
+
359
+ </body>
360
+ </html>