[][src]Macro winwrap::e_make_func2

macro_rules! e_make_func2 {
    ($($pa:ident)::*, $(#[$outer:meta])* pub fn $func:ident($($p:ident: $t:ty,)*) -> $ret:ty;$err_pat:pat$(,)?) => { ... };
    ($($pa:ident)::*, $(#[$outer:meta])* pub unsafe fn $func:ident($($p:ident: $t:ty,)*) -> $ret:ty;$err_pat:pat$(,)?) => { ... };
    ($($pa:ident)::*, $(#[$outer:meta])* pub safe fn $func:ident($($p:ident: $t:ty,)*) -> $ret:ty;$err_pat:pat$(,)?) => { ... };
}

Returns Result<(),()>.

This does not use GetLastError().