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.