windows::Win32::Security::Tpm

Trait ITpmVirtualSmartCardManager2_Impl

pub trait ITpmVirtualSmartCardManager2_Impl: ITpmVirtualSmartCardManager_Impl {
    // Required method
    fn CreateVirtualSmartCardWithPinPolicy(
        &self,
        pszfriendlyname: &PCWSTR,
        badminalgid: u8,
        pbadminkey: *const u8,
        cbadminkey: u32,
        pbadminkcv: *const u8,
        cbadminkcv: u32,
        pbpuk: *const u8,
        cbpuk: u32,
        pbpin: *const u8,
        cbpin: u32,
        pbpinpolicy: *const u8,
        cbpinpolicy: u32,
        fgenerate: BOOL,
        pstatuscallback: Ref<'_, ITpmVirtualSmartCardManagerStatusCallback>,
        ppszinstanceid: *mut PWSTR,
        pfneedreboot: *mut BOOL,
    ) -> Result<()>;
}

Required Methods§

fn CreateVirtualSmartCardWithPinPolicy( &self, pszfriendlyname: &PCWSTR, badminalgid: u8, pbadminkey: *const u8, cbadminkey: u32, pbadminkcv: *const u8, cbadminkcv: u32, pbpuk: *const u8, cbpuk: u32, pbpin: *const u8, cbpin: u32, pbpinpolicy: *const u8, cbpinpolicy: u32, fgenerate: BOOL, pstatuscallback: Ref<'_, ITpmVirtualSmartCardManagerStatusCallback>, ppszinstanceid: *mut PWSTR, pfneedreboot: *mut BOOL, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§