Struct windows::Win32::UI::TextServices::ITextStoreACP2
pub struct ITextStoreACP2(/* private fields */);
Implementations§
§impl ITextStoreACP2
impl ITextStoreACP2
pub unsafe fn AdviseSink<P0>(
&self,
riid: *const GUID,
punk: P0,
dwmask: u32,
) -> Result<()>where
P0: Param<IUnknown>,
pub unsafe fn UnadviseSink<P0>(&self, punk: P0) -> Result<()>where
P0: Param<IUnknown>,
pub unsafe fn RequestLock(&self, dwlockflags: u32) -> Result<HRESULT>
pub unsafe fn GetStatus(&self) -> Result<TS_STATUS>
pub unsafe fn QueryInsert( &self, acpteststart: i32, acptestend: i32, cch: u32, pacpresultstart: *mut i32, pacpresultend: *mut i32, ) -> Result<()>
pub unsafe fn GetSelection( &self, ulindex: u32, pselection: &mut [TS_SELECTION_ACP], pcfetched: *mut u32, ) -> Result<()>
pub unsafe fn SetSelection(&self, pselection: &[TS_SELECTION_ACP]) -> Result<()>
pub unsafe fn GetText( &self, acpstart: i32, acpend: i32, pchplain: &mut [u16], pcchplainret: *mut u32, prgruninfo: &mut [TS_RUNINFO], pcruninforet: *mut u32, pacpnext: *mut i32, ) -> Result<()>
pub unsafe fn SetText( &self, dwflags: u32, acpstart: i32, acpend: i32, pchtext: &[u16], ) -> Result<TS_TEXTCHANGE>
pub unsafe fn GetFormattedText( &self, acpstart: i32, acpend: i32, ) -> Result<IDataObject>
pub unsafe fn GetEmbedded( &self, acppos: i32, rguidservice: *const GUID, riid: *const GUID, ) -> Result<IUnknown>
pub unsafe fn QueryInsertEmbedded( &self, pguidservice: *const GUID, pformatetc: *const FORMATETC, ) -> Result<BOOL>
pub unsafe fn InsertEmbedded<P0>(
&self,
dwflags: u32,
acpstart: i32,
acpend: i32,
pdataobject: P0,
) -> Result<TS_TEXTCHANGE>where
P0: Param<IDataObject>,
pub unsafe fn InsertTextAtSelection( &self, dwflags: u32, pchtext: &[u16], pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE, ) -> Result<()>
pub unsafe fn InsertEmbeddedAtSelection<P0>(
&self,
dwflags: u32,
pdataobject: P0,
pacpstart: *mut i32,
pacpend: *mut i32,
pchange: *mut TS_TEXTCHANGE,
) -> Result<()>where
P0: Param<IDataObject>,
pub unsafe fn RequestSupportedAttrs( &self, dwflags: u32, pafilterattrs: &[GUID], ) -> Result<()>
pub unsafe fn RequestAttrsAtPosition( &self, acppos: i32, pafilterattrs: &[GUID], dwflags: u32, ) -> Result<()>
pub unsafe fn RequestAttrsTransitioningAtPosition( &self, acppos: i32, pafilterattrs: &[GUID], dwflags: u32, ) -> Result<()>
pub unsafe fn FindNextAttrTransition( &self, acpstart: i32, acphalt: i32, pafilterattrs: &[GUID], dwflags: u32, pacpnext: *mut i32, pffound: *mut BOOL, plfoundoffset: *mut i32, ) -> Result<()>
pub unsafe fn RetrieveRequestedAttrs( &self, paattrvals: &mut [TS_ATTRVAL], pcfetched: *mut u32, ) -> Result<()>
pub unsafe fn GetEndACP(&self) -> Result<i32>
pub unsafe fn GetActiveView(&self) -> Result<u32>
pub unsafe fn GetACPFromPoint( &self, vcview: u32, ptscreen: *const POINT, dwflags: u32, ) -> Result<i32>
pub unsafe fn GetTextExt( &self, vcview: u32, acpstart: i32, acpend: i32, prc: *mut RECT, pfclipped: *mut BOOL, ) -> Result<()>
pub unsafe fn GetScreenExt(&self, vcview: u32) -> Result<RECT>
Trait Implementations§
§impl CanInto<IUnknown> for ITextStoreACP2
impl CanInto<IUnknown> for ITextStoreACP2
§impl Clone for ITextStoreACP2
impl Clone for ITextStoreACP2
§fn clone(&self) -> ITextStoreACP2
fn clone(&self) -> ITextStoreACP2
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 ITextStoreACP2
impl Debug for ITextStoreACP2
§impl Deref for ITextStoreACP2
impl Deref for ITextStoreACP2
§impl From<&ITextStoreACP2> for &IUnknown
impl From<&ITextStoreACP2> for &IUnknown
§fn from(value: &ITextStoreACP2) -> Self
fn from(value: &ITextStoreACP2) -> Self
Converts to this type from the input type.
§impl From<ITextStoreACP2> for IUnknown
impl From<ITextStoreACP2> for IUnknown
§fn from(value: ITextStoreACP2) -> Self
fn from(value: ITextStoreACP2) -> Self
Converts to this type from the input type.
§impl Interface for ITextStoreACP2
impl Interface for ITextStoreACP2
§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 ITextStoreACP2
impl PartialEq for ITextStoreACP2
§fn eq(&self, other: &ITextStoreACP2) -> bool
fn eq(&self, other: &ITextStoreACP2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ITextStoreACP2
impl StructuralPartialEq for ITextStoreACP2
Auto Trait Implementations§
impl Freeze for ITextStoreACP2
impl RefUnwindSafe for ITextStoreACP2
impl !Send for ITextStoreACP2
impl !Sync for ITextStoreACP2
impl Unpin for ITextStoreACP2
impl UnwindSafe for ITextStoreACP2
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
)