You can use the FormatMessage message with the FORMAT_MESSAGE_FROM_SYSTEM flag to indicate that
the message number you passed is an error code and that the
message should be looked up in the system message table.
This is a specific case of the more general
Read More...