current occupied size of System Event Log

How can I find the currently occupied size of the System Event Log (programatically) using VC 5,
on Win NT 4.0, sp 5.
thangamaniAsked:
Who is Participating?
 
nietodConnect With a Mentor Commented:
You can use the GetNumberOfEventLogRecords() function.

Let me know if you have any questions.
0
 
thangamaniAuthor Commented:
Can the size be found using GetNumberOfEventLogRecords() function. This only gives the number of records only
0
 
thangamaniAuthor Commented:
Can the size be found using GetNumberOfEventLogRecords() function. This only gives the number of records only.Can the answer be more clear

0
 
nietodCommented:
You've already graded the answer and given me a bad grade.  Now you want more help?   If you want more help you should not grade the answer, then you could reject the answer if the additional help is not available or your could potentially give a a good grade if you get the answer you are looking for.

There is no even-related function that returns the size in bytes--basically no one really cares about that.  but you can use the GetFileSize() function to get the size of the even file (or any file) in bytes.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.