Platform SDK: Performance Monitoring

Getting the Size of a Log File

PdhGetLogFileSize returns the size, in bytes, of the specified log file. Use this function when you need to allocate memory for a buffer you will be writing the contents of a log file into.