pub struct ILogonTrigger(/* private fields */);
Available on crate feature
taskschd
only.Expand description
ILogonTrigger
COM interface.
Automatically calls
Release
when the object goes out of scope.
§Examples
use winsafe::{self as w, prelude::*};
let trigger: w::ITrigger; // initialized somewhere
let logon_trigger = trigger
.QueryInterface::<w::ILogonTrigger>()?;
Trait Implementations§
Source§impl Clone for ILogonTrigger
impl Clone for ILogonTrigger
Source§impl Drop for ILogonTrigger
impl Drop for ILogonTrigger
Source§impl ole_IUnknown for ILogonTrigger
impl ole_IUnknown for ILogonTrigger
Source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Available on crate feature
ole
only.Creates an object from a COM virtual table pointer. Read more
Source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Available on crate feature
ole
only.Returns a mutable reference do the underlying COM virtual table pointer. Read more
Source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Available on crate feature
ole
only.Returns the pointer to the underlying COM virtual table. Read more
Source§unsafe fn null() -> Self
unsafe fn null() -> Self
Available on crate feature
ole
only.Creates an object from a null COM virtual table pointer. Read more
Source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
Available on crate feature
ole
only.IUnknown::QueryInterface
method.Source§impl oleaut_IDispatch for ILogonTrigger
impl oleaut_IDispatch for ILogonTrigger
Source§fn GetIDsOfNames(
&self,
names: &[impl AsRef<str>],
lcid: LCID,
) -> HrResult<Vec<i32>>
fn GetIDsOfNames( &self, names: &[impl AsRef<str>], lcid: LCID, ) -> HrResult<Vec<i32>>
Available on crate feature
oleaut
only.IDispatch::GetIDsOfNames
method.Source§fn GetTypeInfoCount(&self) -> HrResult<u32>
fn GetTypeInfoCount(&self) -> HrResult<u32>
Available on crate feature
oleaut
only.IDispatch::GetTypeInfoCount
method.Source§fn GetTypeInfo(&self, info_type: u32, lcid: LCID) -> HrResult<ITypeInfo>
fn GetTypeInfo(&self, info_type: u32, lcid: LCID) -> HrResult<ITypeInfo>
Available on crate feature
oleaut
only.IDispatch::GetTypeInfo
method.Source§fn Invoke(
&self,
disp_id_member: i32,
lcid: LCID,
flags: DISPATCH,
disp_params: &mut DISPPARAMS<'_, '_>,
) -> AnyResult<VARIANT>
fn Invoke( &self, disp_id_member: i32, lcid: LCID, flags: DISPATCH, disp_params: &mut DISPPARAMS<'_, '_>, ) -> AnyResult<VARIANT>
Available on crate feature
oleaut
only.IDispatch::Invoke
method. Read moreSource§fn invoke_get(
&self,
property_name: &str,
params: &[&Variant],
) -> AnyResult<Variant>
fn invoke_get( &self, property_name: &str, params: &[&Variant], ) -> AnyResult<Variant>
Available on crate feature
oleaut
only.Source§fn invoke_method(
&self,
method_name: &str,
params: &[&Variant],
) -> AnyResult<Variant>
fn invoke_method( &self, method_name: &str, params: &[&Variant], ) -> AnyResult<Variant>
Available on crate feature
oleaut
only.Source§impl taskschd_ILogonTrigger for ILogonTrigger
impl taskschd_ILogonTrigger for ILogonTrigger
Source§fn get_UserId(&self) -> HrResult<String>
fn get_UserId(&self) -> HrResult<String>
ILogonTrigger::get_UserId
method.Source§fn put_UserId(&self, user_id: &str) -> HrResult<()>
fn put_UserId(&self, user_id: &str) -> HrResult<()>
ILogonTrigger::put_UserId
method.Source§impl taskschd_ITrigger for ILogonTrigger
impl taskschd_ITrigger for ILogonTrigger
Source§fn get_Enabled(&self) -> HrResult<bool>
fn get_Enabled(&self) -> HrResult<bool>
ITrigger::get_Enabled
method.Source§fn get_EndBoundary(&self) -> HrResult<String>
fn get_EndBoundary(&self) -> HrResult<String>
ITrigger::get_EndBoundary
method.Source§fn get_ExecutionTimeLimit(&self) -> HrResult<String>
fn get_ExecutionTimeLimit(&self) -> HrResult<String>
ITrigger::get_ExecutionTimeLimit
method.Source§fn get_StartBoundary(&self) -> HrResult<String>
fn get_StartBoundary(&self) -> HrResult<String>
ITrigger::get_StartBoundary
method.Source§fn get_Type(&self) -> HrResult<TASK_TRIGGER_TYPE2>
fn get_Type(&self) -> HrResult<TASK_TRIGGER_TYPE2>
ITrigger::get_Type
method.Source§fn put_Enabled(&self, enabled: bool) -> HrResult<()>
fn put_Enabled(&self, enabled: bool) -> HrResult<()>
ITrigger::put_Enabled
method.Source§fn put_EndBoundary(&self, end: &str) -> HrResult<()>
fn put_EndBoundary(&self, end: &str) -> HrResult<()>
ITrigger::put_EndBoundary
method.Source§fn put_ExecutionTimeLimit(&self, time_limit: &str) -> HrResult<()>
fn put_ExecutionTimeLimit(&self, time_limit: &str) -> HrResult<()>
ITrigger::put_ExecutionTimeLimit
method.Source§fn put_StartBoundary(&self, start: &str) -> HrResult<()>
fn put_StartBoundary(&self, start: &str) -> HrResult<()>
ITrigger::put_StartBoundary
method.impl Send for ILogonTrigger
Auto Trait Implementations§
impl Freeze for ILogonTrigger
impl RefUnwindSafe for ILogonTrigger
impl !Sync for ILogonTrigger
impl Unpin for ILogonTrigger
impl UnwindSafe for ILogonTrigger
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