Trait windows::Win32::System::Ole::ICreateTypeLib_Impl

pub trait ICreateTypeLib_Impl: Sized {
    // Required methods
    fn CreateTypeInfo(
        &self,
        szname: &PCWSTR,
        tkind: TYPEKIND,
    ) -> Result<ICreateTypeInfo>;
    fn SetName(&self, szname: &PCWSTR) -> Result<()>;
    fn SetVersion(&self, wmajorvernum: u16, wminorvernum: u16) -> Result<()>;
    fn SetGuid(&self, guid: *const GUID) -> Result<()>;
    fn SetDocString(&self, szdoc: &PCWSTR) -> Result<()>;
    fn SetHelpFileName(&self, szhelpfilename: &PCWSTR) -> Result<()>;
    fn SetHelpContext(&self, dwhelpcontext: u32) -> Result<()>;
    fn SetLcid(&self, lcid: u32) -> Result<()>;
    fn SetLibFlags(&self, ulibflags: u32) -> Result<()>;
    fn SaveAllChanges(&self) -> Result<()>;
}

Required Methods§

fn CreateTypeInfo( &self, szname: &PCWSTR, tkind: TYPEKIND, ) -> Result<ICreateTypeInfo>

fn SetName(&self, szname: &PCWSTR) -> Result<()>

fn SetVersion(&self, wmajorvernum: u16, wminorvernum: u16) -> Result<()>

fn SetGuid(&self, guid: *const GUID) -> Result<()>

fn SetDocString(&self, szdoc: &PCWSTR) -> Result<()>

fn SetHelpFileName(&self, szhelpfilename: &PCWSTR) -> Result<()>

fn SetHelpContext(&self, dwhelpcontext: u32) -> Result<()>

fn SetLcid(&self, lcid: u32) -> Result<()>

fn SetLibFlags(&self, ulibflags: u32) -> Result<()>

fn SaveAllChanges(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§