ISWbemDateTime

Struct ISWbemDateTime 

Source
#[repr(C)]
pub struct ISWbemDateTime { pub lpVtbl: *const ISWbemDateTimeVtbl, }

Fields§

§lpVtbl: *const ISWbemDateTimeVtbl

Implementations§

Source§

impl ISWbemDateTime

Source

pub unsafe fn get_Value(&self, strValue: *mut BSTR) -> HRESULT

Source

pub unsafe fn put_Value(&self, strValue: BSTR) -> HRESULT

Source

pub unsafe fn get_Year(&self, iYear: *mut c_long) -> HRESULT

Source

pub unsafe fn put_Year(&self, iYear: c_long) -> HRESULT

Source

pub unsafe fn get_YearSpecified( &self, bYearSpecified: *mut VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn put_YearSpecified(&self, bYearSpecified: VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn get_Month(&self, iMonth: *mut c_long) -> HRESULT

Source

pub unsafe fn put_Month(&self, iMonth: c_long) -> HRESULT

Source

pub unsafe fn get_MonthSpecified( &self, bMonthSpecified: *mut VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn put_MonthSpecified( &self, bMonthSpecified: VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn get_Day(&self, iDay: *mut c_long) -> HRESULT

Source

pub unsafe fn put_Day(&self, iDay: c_long) -> HRESULT

Source

pub unsafe fn get_DaySpecified( &self, bDaySpecified: *mut VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn put_DaySpecified(&self, bDaySpecified: VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn get_Hours(&self, iHours: *mut c_long) -> HRESULT

Source

pub unsafe fn put_Hours(&self, iHours: c_long) -> HRESULT

Source

pub unsafe fn get_HoursSpecified( &self, bHoursSpecified: *mut VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn put_HoursSpecified( &self, bHoursSpecified: VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn get_Minutes(&self, iMinutes: *mut c_long) -> HRESULT

Source

pub unsafe fn put_Minutes(&self, iMinutes: c_long) -> HRESULT

Source

pub unsafe fn get_MinutesSpecified( &self, bMinutesSpecified: *mut VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn put_MinutesSpecified( &self, bMinutesSpecified: VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn get_Seconds(&self, iSeconds: *mut c_long) -> HRESULT

Source

pub unsafe fn put_Seconds(&self, iSeconds: c_long) -> HRESULT

Source

pub unsafe fn get_SecondsSpecified( &self, bSecondsSpecified: *mut VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn put_SecondsSpecified( &self, bSecondsSpecified: VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn get_Microseconds(&self, iMicroseconds: *mut c_long) -> HRESULT

Source

pub unsafe fn put_Microseconds(&self, iMicroseconds: c_long) -> HRESULT

Source

pub unsafe fn get_MicrosecondsSpecified( &self, bMicrosecondsSpecified: *mut VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn put_MicrosecondsSpecified( &self, bMicrosecondsSpecified: VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn get_UTC(&self, iUTC: *mut c_long) -> HRESULT

Source

pub unsafe fn put_UTC(&self, iUTC: c_long) -> HRESULT

Source

pub unsafe fn get_UTCSpecified( &self, bUTCSpecified: *mut VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn put_UTCSpecified(&self, bUTCSpecified: VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn get_IsInterval(&self, bIsInterval: *mut VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn put_IsInterval(&self, bIsInterval: VARIANT_BOOL) -> HRESULT

Source

pub unsafe fn GetVarDate( &self, bIsLocal: VARIANT_BOOL, dVarDate: *mut DATE, ) -> HRESULT

Source

pub unsafe fn SetVarDate( &self, dVarDate: DATE, bIsLocal: VARIANT_BOOL, ) -> HRESULT

Source

pub unsafe fn GetFileTime( &self, bIsLocal: VARIANT_BOOL, strFileTime: *mut BSTR, ) -> HRESULT

Source

pub unsafe fn SetFileTime( &self, strFileTime: BSTR, bIsLocal: VARIANT_BOOL, ) -> HRESULT

Methods from Deref<Target = IDispatch>§

Source

pub unsafe fn GetTypeInfoCount(&self, pctinfo: *mut UINT) -> HRESULT

Source

pub unsafe fn GetTypeInfo( &self, iTInfo: UINT, lcid: LCID, ppTInfo: *mut *mut ITypeInfo, ) -> HRESULT

Source

pub unsafe fn GetIDsOfNames( &self, riid: REFIID, rgszNames: *mut LPOLESTR, cNames: UINT, lcid: LCID, rgDispId: *mut DISPID, ) -> HRESULT

Source

pub unsafe fn Invoke( &self, dispIdMember: DISPID, riid: REFIID, lcid: LCID, wFlags: WORD, pDispParams: *mut DISPPARAMS, pVarResult: *mut VARIANT, pExcepInfo: *mut EXCEPINFO, puArgErr: *mut UINT, ) -> HRESULT

Methods from Deref<Target = IUnknown>§

Source

pub unsafe fn QueryInterface( &self, riid: REFIID, ppvObject: *mut *mut c_void, ) -> HRESULT

Source

pub unsafe fn AddRef(&self) -> ULONG

Source

pub unsafe fn Release(&self) -> ULONG

Trait Implementations§

Source§

impl Deref for ISWbemDateTime

Source§

type Target = IDispatch

The resulting type after dereferencing.
Source§

fn deref(&self) -> &IDispatch

Dereferences the value.
Source§

impl Interface for ISWbemDateTime

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.