pub trait ole_IDropTarget: ole_IUnknown {
    // Provided methods
    fn DragEnter(
        &self,
        data_obj: &impl ole_IDataObject,
        key_state: MK,
        pt: POINT,
        effect: DROPEFFECT
    ) -> HrResult<DROPEFFECT> { ... }
    fn DragLeave(&self) -> HrResult<()> { ... }
    fn DragOver(
        &self,
        key_state: MK,
        pt: POINT,
        effect: DROPEFFECT
    ) -> HrResult<DROPEFFECT> { ... }
    fn Drop(
        &self,
        data_obj: &impl ole_IDataObject,
        key_state: MK,
        pt: POINT,
        effect: DROPEFFECT
    ) -> HrResult<DROPEFFECT> { ... }
}
Available on crate features kernel and ole only.
Expand description

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

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

source

fn DragEnter( &self, data_obj: &impl ole_IDataObject, key_state: MK, pt: POINT, effect: DROPEFFECT ) -> HrResult<DROPEFFECT>

source

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

source

fn DragOver( &self, key_state: MK, pt: POINT, effect: DROPEFFECT ) -> HrResult<DROPEFFECT>

source

fn Drop( &self, data_obj: &impl ole_IDataObject, key_state: MK, pt: POINT, effect: DROPEFFECT ) -> HrResult<DROPEFFECT>

Object Safety§

This trait is not object safe.

Implementors§