[Input] The flags specifying the behavior of this function.
If the input buffer is too short, the error message will be truncated to fit the buffer.
[Input] The language desired (LANGID) or 0, in which case the Win32 FormatMessage language order is used.
[Output] The buffer to store the LocalDB error message.
[Input/Output] On input contains the size of the wszMessage buffer in characters. On output, if the given buffer size is too small, contains the buffer size required in characters, including any trailing nulls. If the function succeeds, contains the number of characters in the message, excluding any trailing nulls.