pub trait IDebugDocumentHelper32_Impl: Sized {
Show 18 methods
// Required methods
fn Init(
&self,
pda: Option<&IDebugApplication32>,
pszshortname: &PCWSTR,
pszlongname: &PCWSTR,
docattr: u32,
) -> Result<()>;
fn Attach(&self, pddhparent: Option<&IDebugDocumentHelper32>) -> Result<()>;
fn Detach(&self) -> Result<()>;
fn AddUnicodeText(&self, psztext: &PCWSTR) -> Result<()>;
fn AddDBCSText(&self, psztext: &PCSTR) -> Result<()>;
fn SetDebugDocumentHost(
&self,
pddh: Option<&IDebugDocumentHost>,
) -> Result<()>;
fn AddDeferredText(&self, cchars: u32, dwtextstartcookie: u32) -> Result<()>;
fn DefineScriptBlock(
&self,
ulcharoffset: u32,
cchars: u32,
pas: Option<&IActiveScript>,
fscriptlet: BOOL,
) -> Result<u32>;
fn SetDefaultTextAttr(&self, statextattr: u16) -> Result<()>;
fn SetTextAttributes(
&self,
ulcharoffset: u32,
cchars: u32,
pstatextattr: *const u16,
) -> Result<()>;
fn SetLongName(&self, pszlongname: &PCWSTR) -> Result<()>;
fn SetShortName(&self, pszshortname: &PCWSTR) -> Result<()>;
fn SetDocumentAttr(&self, pszattributes: u32) -> Result<()>;
fn GetDebugApplicationNode(&self) -> Result<IDebugApplicationNode>;
fn GetScriptBlockInfo(
&self,
dwsourcecontext: u32,
ppasd: *mut Option<IActiveScript>,
picharpos: *mut u32,
pcchars: *mut u32,
) -> Result<()>;
fn CreateDebugDocumentContext(
&self,
icharpos: u32,
cchars: u32,
) -> Result<IDebugDocumentContext>;
fn BringDocumentToTop(&self) -> Result<()>;
fn BringDocumentContextToTop(
&self,
pddc: Option<&IDebugDocumentContext>,
) -> Result<()>;
}
Required Methods§
fn Init( &self, pda: Option<&IDebugApplication32>, pszshortname: &PCWSTR, pszlongname: &PCWSTR, docattr: u32, ) -> Result<()>
fn Attach(&self, pddhparent: Option<&IDebugDocumentHelper32>) -> Result<()>
fn Detach(&self) -> Result<()>
fn AddUnicodeText(&self, psztext: &PCWSTR) -> Result<()>
fn AddDBCSText(&self, psztext: &PCSTR) -> Result<()>
fn SetDebugDocumentHost(&self, pddh: Option<&IDebugDocumentHost>) -> Result<()>
fn AddDeferredText(&self, cchars: u32, dwtextstartcookie: u32) -> Result<()>
fn DefineScriptBlock( &self, ulcharoffset: u32, cchars: u32, pas: Option<&IActiveScript>, fscriptlet: BOOL, ) -> Result<u32>
fn SetDefaultTextAttr(&self, statextattr: u16) -> Result<()>
fn SetTextAttributes( &self, ulcharoffset: u32, cchars: u32, pstatextattr: *const u16, ) -> Result<()>
fn SetLongName(&self, pszlongname: &PCWSTR) -> Result<()>
fn SetShortName(&self, pszshortname: &PCWSTR) -> Result<()>
fn SetDocumentAttr(&self, pszattributes: u32) -> Result<()>
fn GetDebugApplicationNode(&self) -> Result<IDebugApplicationNode>
fn GetScriptBlockInfo( &self, dwsourcecontext: u32, ppasd: *mut Option<IActiveScript>, picharpos: *mut u32, pcchars: *mut u32, ) -> Result<()>
fn CreateDebugDocumentContext( &self, icharpos: u32, cchars: u32, ) -> Result<IDebugDocumentContext>
fn BringDocumentToTop(&self) -> Result<()>
fn BringDocumentContextToTop( &self, pddc: Option<&IDebugDocumentContext>, ) -> Result<()>
Object Safety§
This trait is not object safe.