Type Alias NCryptEncryptFn

pub type NCryptEncryptFn = Option<unsafe extern "system" fn(hprovider: NCRYPT_PROV_HANDLE, hkey: NCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, ppaddinginfo: *const c_void, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: u32) -> HRESULT>;

Aliased Type§

pub enum NCryptEncryptFn {
    None,
    Some(unsafe extern "system" fn(NCRYPT_PROV_HANDLE, NCRYPT_KEY_HANDLE, *const u8, u32, *const c_void, *mut u8, u32, *mut u32, u32) -> HRESULT),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(NCRYPT_PROV_HANDLE, NCRYPT_KEY_HANDLE, *const u8, u32, *const c_void, *mut u8, u32, *mut u32, u32) -> HRESULT)

Some value of type T.