# File lib\Win32/Console.rb, line 406 def ReadConsoleOutputAttribute( hConsoleOutput, nLength, col, row ) if @@m_ReadConsoleOutputAttribute == nil @@m_ReadConsoleOutputAttribute = Win32API.new( "kernel32", "ReadConsoleOutputAttribute", ['l', 'p', 'l', 'l', 'p'], 'l' ) end lpAttribute = ' ' * nLength dwReadCoord = (row << 16) + col lpNumberOfAttrsRead = ' ' * 4 @@m_ReadConsoleOutputAttribute.call( hConsoleOutput, lpAttribute, nLength, dwReadCoord, lpNumberOfAttrsRead ) return lpAttribute end