pub fn new_message(hresult: raw::HRESULT, description: String) -> ComError
    {
        ComError {
            hresult,
            error_info: Some(ErrorInfo::new(description)),
        }
    }
/// Construts a new `ComError` with a given message.
Construts a new `ComError` with a given message.
Construts a new ` ComError ` with a given message .
pub fn new_message(hresult: raw::HRESULT, description: String) -> ComError
    {
        ComError {
            hresult,
            error_info: Some(ErrorInfo::new(description)),
        }
    }
pub fn new_message ( hresult : raw :: HRESULT , description : String ) -> ComError { ComError { hresult , error_info : Some ( ErrorInfo :: new ( description ) ) , } }
Construts a new `ComError` with a given message.
Construts a new ` ComError ` with a given message .
hresult
raw::HRESULT
description
String
hresult
raw::HRESULT
description
String