Как правильно использовать FormatMessage () в C ++?

Без : MFC ATL Как я могу FormatMessage()получить текст ошибки для a HRESULT? HRESULT hresult = application.CreateInstance("Excel.Application"); if (FAILED(hresult)) { // what should i put here to obtain a human-readable // description of the error? exit (hresult); }...