# File lib/win32/eventlog.rb, line 345
      def total_records
         total = [0].pack('L')
         
         unless GetNumberOfEventLogRecords(@handle, total)
            error = 'GetNumberOfEventLogRecords() failed: '
            error += get_last_error
            raise Error, error
         end
         
         total.unpack('L')[0]
      end