Struct windows::Win32::System::Diagnostics::Debug::ActiveScript::IDebugDocumentHelper64
pub struct IDebugDocumentHelper64(/* private fields */);
Implementations§
§impl IDebugDocumentHelper64
impl IDebugDocumentHelper64
pub unsafe fn Init<P0, P1, P2>(
&self,
pda: P0,
pszshortname: P1,
pszlongname: P2,
docattr: u32,
) -> Result<()>where
P0: Param<IDebugApplication64>,
P1: Param<PCWSTR>,
P2: Param<PCWSTR>,
pub unsafe fn Attach<P0>(&self, pddhparent: P0) -> Result<()>where
P0: Param<IDebugDocumentHelper64>,
pub unsafe fn Detach(&self) -> Result<()>
pub unsafe fn AddUnicodeText<P0>(&self, psztext: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn AddDBCSText<P0>(&self, psztext: P0) -> Result<()>where
P0: Param<PCSTR>,
pub unsafe fn SetDebugDocumentHost<P0>(&self, pddh: P0) -> Result<()>where
P0: Param<IDebugDocumentHost>,
pub unsafe fn AddDeferredText( &self, cchars: u32, dwtextstartcookie: u32, ) -> Result<()>
pub unsafe fn DefineScriptBlock<P0, P1>(
&self,
ulcharoffset: u32,
cchars: u32,
pas: P0,
fscriptlet: P1,
) -> Result<u64>where
P0: Param<IActiveScript>,
P1: Param<BOOL>,
pub unsafe fn SetDefaultTextAttr(&self, statextattr: u16) -> Result<()>
pub unsafe fn SetTextAttributes( &self, ulcharoffset: u32, pstatextattr: &[u16], ) -> Result<()>
pub unsafe fn SetLongName<P0>(&self, pszlongname: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn SetShortName<P0>(&self, pszshortname: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn SetDocumentAttr(&self, pszattributes: u32) -> Result<()>
pub unsafe fn GetDebugApplicationNode(&self) -> Result<IDebugApplicationNode>
pub unsafe fn GetScriptBlockInfo( &self, dwsourcecontext: u64, ppasd: *mut Option<IActiveScript>, picharpos: *mut u32, pcchars: *mut u32, ) -> Result<()>
pub unsafe fn CreateDebugDocumentContext( &self, icharpos: u32, cchars: u32, ) -> Result<IDebugDocumentContext>
pub unsafe fn BringDocumentToTop(&self) -> Result<()>
pub unsafe fn BringDocumentContextToTop<P0>(&self, pddc: P0) -> Result<()>where
P0: Param<IDebugDocumentContext>,
Trait Implementations§
§impl CanInto<IUnknown> for IDebugDocumentHelper64
impl CanInto<IUnknown> for IDebugDocumentHelper64
§impl Clone for IDebugDocumentHelper64
impl Clone for IDebugDocumentHelper64
§fn clone(&self) -> IDebugDocumentHelper64
fn clone(&self) -> IDebugDocumentHelper64
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IDebugDocumentHelper64
impl Debug for IDebugDocumentHelper64
§impl Deref for IDebugDocumentHelper64
impl Deref for IDebugDocumentHelper64
§impl From<&IDebugDocumentHelper64> for &IUnknown
impl From<&IDebugDocumentHelper64> for &IUnknown
§fn from(value: &IDebugDocumentHelper64) -> Self
fn from(value: &IDebugDocumentHelper64) -> Self
Converts to this type from the input type.
§impl From<IDebugDocumentHelper64> for IUnknown
impl From<IDebugDocumentHelper64> for IUnknown
§fn from(value: IDebugDocumentHelper64) -> Self
fn from(value: IDebugDocumentHelper64) -> Self
Converts to this type from the input type.
§impl Interface for IDebugDocumentHelper64
impl Interface for IDebugDocumentHelper64
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IDebugDocumentHelper64
impl PartialEq for IDebugDocumentHelper64
§fn eq(&self, other: &IDebugDocumentHelper64) -> bool
fn eq(&self, other: &IDebugDocumentHelper64) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDebugDocumentHelper64
impl StructuralPartialEq for IDebugDocumentHelper64
Auto Trait Implementations§
impl Freeze for IDebugDocumentHelper64
impl RefUnwindSafe for IDebugDocumentHelper64
impl !Send for IDebugDocumentHelper64
impl !Sync for IDebugDocumentHelper64
impl Unpin for IDebugDocumentHelper64
impl UnwindSafe for IDebugDocumentHelper64
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)