Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: reading .evt logs (Win32)

by screamingeagle (Curate)
on Jul 02, 2002 at 14:44 UTC ( #178869=note: print w/ replies, xml ) Need Help??

in reply to reading .evt logs (Win32)

the win32 api to read the event log is :

BOOL ReadEventLog( HANDLE hEventLog, // handle to event log DWORD dwReadFlags, // how to read log DWORD dwRecordOffset, // initial record offset LPVOID lpBuffer, // buffer for read data DWORD nNumberOfBytesToRead, // bytes to read DWORD *pnBytesRead, // number of bytes read DWORD *pnMinNumberOfBytesNeeded // bytes required );
i guess you could use Win32::API to call this API and read the event logs...

Comment on Re: reading .evt logs (Win32)
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://178869]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2016-02-11 13:32 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (368 votes), past polls