Trait winsafe::prelude::ole_Hwnd

source ·
pub trait ole_Hwnd: user_Hwnd {
    // Provided methods
    fn RegisterDragDrop(&self, drop_target: &IDropTarget) -> HrResult<()> { ... }
    fn RevokeDragDrop(&self) -> HrResult<()> { ... }
}
Available on crate features kernel and ole only.
Expand description

This trait is enabled with the ole feature, and provides methods for HWND.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

source

fn RegisterDragDrop(&self, drop_target: &IDropTarget) -> HrResult<()>

RegisterDragDrop function.

source

fn RevokeDragDrop(&self) -> HrResult<()>

RevokeDragDrop function.

Object Safety§

This trait is not object safe.

Implementors§