pub trait IDCompositionDesktopDevice_Impl: Sized + IDCompositionDevice2_Impl {
    // Required methods
    fn CreateTargetForHwnd(
        &self,
        hwnd: HWND,
        topmost: BOOL,
    ) -> Result<IDCompositionTarget>;
    fn CreateSurfaceFromHandle(&self, handle: HANDLE) -> Result<IUnknown>;
    fn CreateSurfaceFromHwnd(&self, hwnd: HWND) -> Result<IUnknown>;
}

Required Methods§

fn CreateTargetForHwnd( &self, hwnd: HWND, topmost: BOOL, ) -> Result<IDCompositionTarget>

fn CreateSurfaceFromHandle(&self, handle: HANDLE) -> Result<IUnknown>

fn CreateSurfaceFromHwnd(&self, hwnd: HWND) -> Result<IUnknown>

Object Safety§

This trait is not object safe.

Implementors§