Function intercom::return_hresult [] [src]

pub fn return_hresult<E>(error: E) -> HRESULT where
    E: Into<ComError>, 

Extracts the HRESULT from the error result and stores the extended error information in thread memory so it can be fetched by the COM client.