On input,
the length of the caller's buffer. On output, the size of pLogEntryBuffer.
If the caller's buffer is too small to hold a single entry, pLogEntryBufferLength
will be set to the required size to hold a single entry and no data
will be returned.