Function winsafe::FormatMessage

source ·
pub unsafe fn FormatMessage(
    flags: FORMAT_MESSAGE,
    source: Option<*mut c_void>,
    message_id: u32,
    lang_id: LANGID,
    args: Option<&[*mut c_void]>
) -> SysResult<String>
Available on crate feature kernel only.
Expand description

FormatMessage function.

You don’t need to call this function: all error types implement the FormattedError trait which will automatically call FormatMessage.