windows::Win32::System::Ole

Trait IProtectedModeMenuServices_Impl

pub trait IProtectedModeMenuServices_Impl: IUnknownImpl {
    // Required methods
    fn CreateMenu(&self) -> Result<HMENU>;
    fn LoadMenu(
        &self,
        pszmodulename: &PCWSTR,
        pszmenuname: &PCWSTR,
    ) -> Result<HMENU>;
    fn LoadMenuID(
        &self,
        pszmodulename: &PCWSTR,
        wresourceid: u16,
    ) -> Result<HMENU>;
}

Required Methods§

fn CreateMenu(&self) -> Result<HMENU>

fn LoadMenu( &self, pszmodulename: &PCWSTR, pszmenuname: &PCWSTR, ) -> Result<HMENU>

fn LoadMenuID(&self, pszmodulename: &PCWSTR, wresourceid: u16) -> Result<HMENU>

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§