This function allocates a single private segment to contain the ERRINFO structure. All the pointers to string fields within the ERRINFO structure are offsets to memory within that segment.
The memory allocated by this function is not released until the returned pointer is passed to the WinFreeErrorInfo function.