pub trait ole_Hwnd: user_Hwnd {
// Provided methods
fn RegisterDragDrop(
&self,
drop_target: &impl ole_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§
sourcefn RegisterDragDrop(&self, drop_target: &impl ole_IDropTarget) -> HrResult<()>
fn RegisterDragDrop(&self, drop_target: &impl ole_IDropTarget) -> HrResult<()>
RegisterDragDrop
function.
sourcefn RevokeDragDrop(&self) -> HrResult<()>
fn RevokeDragDrop(&self) -> HrResult<()>
RevokeDragDrop
function.
Object Safety§
This trait is not object safe.