windows::Win32::Security::EnterpriseData

Trait IProtectionPolicyManagerInterop3_Impl

pub trait IProtectionPolicyManagerInterop3_Impl: IUnknownImpl {
    // Required methods
    fn RequestAccessWithBehaviorForWindowAsync(
        &self,
        appwindow: HWND,
        sourceidentity: &HSTRING,
        targetidentity: &HSTRING,
        auditinfounk: Ref<'_, IUnknown>,
        messagefromapp: &HSTRING,
        behavior: u32,
        riid: *const GUID,
        asyncoperation: *mut *mut c_void,
    ) -> Result<()>;
    fn RequestAccessForAppWithBehaviorForWindowAsync(
        &self,
        appwindow: HWND,
        sourceidentity: &HSTRING,
        apppackagefamilyname: &HSTRING,
        auditinfounk: Ref<'_, IUnknown>,
        messagefromapp: &HSTRING,
        behavior: u32,
        riid: *const GUID,
        asyncoperation: *mut *mut c_void,
    ) -> Result<()>;
    fn RequestAccessToFilesForAppForWindowAsync(
        &self,
        appwindow: HWND,
        sourceitemlistunk: Ref<'_, IUnknown>,
        apppackagefamilyname: &HSTRING,
        auditinfounk: Ref<'_, IUnknown>,
        riid: *const GUID,
        asyncoperation: *mut *mut c_void,
    ) -> Result<()>;
    fn RequestAccessToFilesForAppWithMessageAndBehaviorForWindowAsync(
        &self,
        appwindow: HWND,
        sourceitemlistunk: Ref<'_, IUnknown>,
        apppackagefamilyname: &HSTRING,
        auditinfounk: Ref<'_, IUnknown>,
        messagefromapp: &HSTRING,
        behavior: u32,
        riid: *const GUID,
        asyncoperation: *mut *mut c_void,
    ) -> Result<()>;
    fn RequestAccessToFilesForProcessForWindowAsync(
        &self,
        appwindow: HWND,
        sourceitemlistunk: Ref<'_, IUnknown>,
        processid: u32,
        auditinfounk: Ref<'_, IUnknown>,
        riid: *const GUID,
        asyncoperation: *mut *mut c_void,
    ) -> Result<()>;
    fn RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync(
        &self,
        appwindow: HWND,
        sourceitemlistunk: Ref<'_, IUnknown>,
        processid: u32,
        auditinfounk: Ref<'_, IUnknown>,
        messagefromapp: &HSTRING,
        behavior: u32,
        riid: *const GUID,
        asyncoperation: *mut *mut c_void,
    ) -> Result<()>;
}

Required Methods§

fn RequestAccessWithBehaviorForWindowAsync( &self, appwindow: HWND, sourceidentity: &HSTRING, targetidentity: &HSTRING, auditinfounk: Ref<'_, IUnknown>, messagefromapp: &HSTRING, behavior: u32, riid: *const GUID, asyncoperation: *mut *mut c_void, ) -> Result<()>

fn RequestAccessForAppWithBehaviorForWindowAsync( &self, appwindow: HWND, sourceidentity: &HSTRING, apppackagefamilyname: &HSTRING, auditinfounk: Ref<'_, IUnknown>, messagefromapp: &HSTRING, behavior: u32, riid: *const GUID, asyncoperation: *mut *mut c_void, ) -> Result<()>

fn RequestAccessToFilesForAppForWindowAsync( &self, appwindow: HWND, sourceitemlistunk: Ref<'_, IUnknown>, apppackagefamilyname: &HSTRING, auditinfounk: Ref<'_, IUnknown>, riid: *const GUID, asyncoperation: *mut *mut c_void, ) -> Result<()>

fn RequestAccessToFilesForAppWithMessageAndBehaviorForWindowAsync( &self, appwindow: HWND, sourceitemlistunk: Ref<'_, IUnknown>, apppackagefamilyname: &HSTRING, auditinfounk: Ref<'_, IUnknown>, messagefromapp: &HSTRING, behavior: u32, riid: *const GUID, asyncoperation: *mut *mut c_void, ) -> Result<()>

fn RequestAccessToFilesForProcessForWindowAsync( &self, appwindow: HWND, sourceitemlistunk: Ref<'_, IUnknown>, processid: u32, auditinfounk: Ref<'_, IUnknown>, riid: *const GUID, asyncoperation: *mut *mut c_void, ) -> Result<()>

fn RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync( &self, appwindow: HWND, sourceitemlistunk: Ref<'_, IUnknown>, processid: u32, auditinfounk: Ref<'_, IUnknown>, messagefromapp: &HSTRING, behavior: u32, riid: *const GUID, asyncoperation: *mut *mut c_void, ) -> 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§