Struct amsi::WinError [−][src]
pub struct WinError { /* fields omitted */ }
Represents a Windows Error
Methods
impl WinError
[src]
impl WinError
pub fn new() -> WinError
[src]
pub fn new() -> WinError
Creates a new WinError
. This function will actually call GetLastError()
.
pub fn from_code(code: u32) -> WinError
[src]
pub fn from_code(code: u32) -> WinError
Creates a new WinError
from the specified error code.
pub fn from_hresult(res: u32) -> WinError
[src]
pub fn from_hresult(res: u32) -> WinError
Creates a new WinError
from the specified HRESULT
code.