@@open_event_log = Win32API.new('Advapi32','OpenEventLog',['P', 'P'],'I')
@@get_number_of_event_log_records = Win32API.new('Advapi32','GetNumberOfEventLogRecords',['I', 'P'],'I')
@@read_event_log = Win32API.new('Advapi32','ReadEventLog',['I', 'I','I','P','I','P', 'P'],'I')
@@get_last_error = Win32API.new('Kernel32', 'GetLastError',[], 'I')