windows::Win32::System::WinRT::Display

Trait IDisplayDeviceInterop_Impl

pub trait IDisplayDeviceInterop_Impl: IUnknownImpl {
    // Required methods
    fn CreateSharedHandle(
        &self,
        pobject: Ref<'_, IInspectable>,
        psecurityattributes: *const SECURITY_ATTRIBUTES,
        access: u32,
        name: &HSTRING,
    ) -> Result<HANDLE>;
    fn OpenSharedHandle(
        &self,
        nthandle: HANDLE,
        riid: &GUID,
    ) -> Result<*mut c_void>;
}

Required Methods§

fn CreateSharedHandle( &self, pobject: Ref<'_, IInspectable>, psecurityattributes: *const SECURITY_ATTRIBUTES, access: u32, name: &HSTRING, ) -> Result<HANDLE>

fn OpenSharedHandle(&self, nthandle: HANDLE, riid: &GUID) -> Result<*mut c_void>

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§