pub struct SiteClassInfo {
Show 15 fields pub class_table_flags: ClsTableFlags, pub var_flags: VarFlags, pub count_of_methods: u32, pub dispid_bind: u32, pub get_bind_index: u16, pub put_bind_index: u16, pub bind_type: VarType, pub get_value_index: u16, pub put_value_index: u16, pub value_type: VarType, pub dispid_rowset: u32, pub set_rowset: u16, pub cls_id: Uuid, pub disp_event: Uuid, pub default_proc: Uuid,
}
Expand description

Specifies the structure, as persisted to a stream, of the type information of an embedded ActiveX control.

Fields§

§class_table_flags: ClsTableFlags

A CLSTABLE_FLAGS that specifies Boolean properties of the type information.

The file format default is 0x0000.

§var_flags: VarFlags

A VARFLAGS, as specified in [MS-OAUT] section 2.2.18, that specifies Boolean properties of the type information.

The file format default is 0x0000.

§count_of_methods: u32

An unsigned integer that specifies the number of methods on the default dual interface of the type information.

The file format default is 0x00000000.

§dispid_bind: u32

An unsigned integer that specifies the IDispatch identifier (DispID) of the default bindable property, as specified in [MS-OAUT] section 2.2.49.5.2, in this type information. The value of this field is the memid field of the VARDESC of the function, as specified in [MS-OAUT] section 2.2.43. The VARDESC.wVarFlags field MUST be set to 0x00000014, or FUNCFLAG_FBINDABLE and FUNCFLAG_FDISPLAYBIND, as specified in [MS-OAUT] section 2.2.11.

§get_bind_index: u16

An unsigned integer that specifies the index of the “get” function of the default bindable property, as specified in [MS-OAUT] section 2.2.49.5.2, into the dynamic virtual table of a type information that implements a dual interface. The value of this field is the oVft field of the FUNCDESC that specifies the function, as specified in [MS-OAUT] section 2.2.42. The memid field of this FUNCDESC MUST NOT be set to DISPID_VALUE, as specified in [MS-OAUT] section 2.2.32.1. The invkind field of this FUNCDESC MUST be set to INVOKE_PROPERTYGET, as specified in [MS-OAUT] section 2.2.14.

The file format default is 0x0000.

§put_bind_index: u16

An unsigned integer that specifies the index of the “put” function of the default bindable property, as specified in [MS-OAUT] section 2.2.49.5.2, into the dynamic virtual table of a type information that implements a dual interface. The value of this field is the oVft field of the FUNCDESC that specifies the function, as specified in [MS-OAUT] section 2.2.42. The memid field of this FUNCDESC MUST NOT be set to DISPID_VALUE, as specified in [MS-OAUT] section 2.2.32.1. The invkind field of this FUNCDESC MUST be set to INVOKE_PROPERTYPUT, as specified in [MS-OAUT] section 2.2.14.

The file format default is 0x0000.

§bind_type: VarType

A variant type that specifies the type of the default bindable property, as specified in [MS-OAUT] section 2.2.49.5.2. The value of this field is the vt field of the TYPEDESC, as specified in [MS-OAUT] section 2.2.37, of the FUNCDESC.elemdescFunc, as specified in [MS-OAUT] section 2.2.42, of the function referenced by GetBindIndex or PutBindIndex in this ClassInfoDataBlock.

The file format default is 0x0000, VT_EMPTY.

§get_value_index: u16

An unsigned integer that specifies the index of the function that retrieves the value of the control into the dynamic virtual table of the class. The value of this field is the oVft field of the FUNCDESC that specifies the function, as specified in [MS-OAUT] section 2.2.42. The memid of the FUNCDESC MUST be set to DISPID_VALUE, as specified in [MS-OAUT] section 2.2.32.1. The invkind field of the FUNCDESC MUST be set to INVOKE_PROPERTYGET, as specified in [MS-OAUT] section 2.2.14.

The file format default is 0x0000.

§put_value_index: u16

An unsigned integer that specifies the index of the function that sets the value of the control into the dynamic virtual table of the class. The value of this field is the oVft field of the FUNCDESC that specifies the function, as specified in [MS-OAUT] section 2.2.42. The memid of the FUNCDESC MUST be set to DISPID_VALUE, as specified in [MS-OAUT] section 2.2.32.1. The invkind field of the FUNCDESC MUST be set to INVOKE_PROPERTYPUT, as specified in [MS-OAUT] section 2.2.14.

The file format default is 0x0000.

§value_type: VarType

A variant type that specifies the type of the value that is returned in response to DISPID_VALUE. The value of this field is the vt field of the TYPEDESC, as specified in [MS-OAUT] section 2.2.37, of the FUNCDESC.elemdescFunc, as specified in [MS-OAUT] section 2.2.42, of the function referenced by GetValueIndex or PutValueIndex in this ClassInfoDataBlock.

The file format default is 0x0000, VT_EMPTY.

§dispid_rowset: u32

An unsigned integer that specifies the DispID of a property that supports a method for fetching rows sequentially, getting the data from those rows, and managing rows. The value of this field is the memid field of the FUNCDESC that specifies the property “set” method, as specified in [MS-OAUT] section 2.2.42, or of the VARDESC that specifies the property, as specified in [MS-OAUT] section 2.2.43. The value of memid can be determined by the algorithm specified in section 2.6.1.1.

The file format default is 0xFFFFFFFF, DISPID_UNKNOWN.

§set_rowset: u16

An unsigned integer that specifies the index of the “set” function into the dynamic virtual table of the class, for a property that supports a method for fetching rows sequentially, getting the data from those rows, and managing rows. The value of this field is the oVft field of the FUNCDESC that specifies the property “set” method, as specified in [MS-OAUT] section 2.2.42. The value of oVft can be determined by the algorithm specified in section 2.6.1.2.

The file format default is 0x0000.

§cls_id: Uuid

A Uuid, as specified in [MS-DTYP], that specifies the CLSID of a control.

The file format default is {00000000-0000-0000-0000-000000000000}.

§disp_event: Uuid

A Uuid, as specified in [MS-DTYP], that specifies the source interface, as specified in [MS-OAUT] section 2.2.49.8, in this type information.

The file format default is {00020400-0000-0000-C000-000000000046}.

§default_proc: Uuid

A Uuid, as specified in [MS-DTYP], that specifies the default interface, as specified in [MS-OAUT] section 2.2.49.8, in this type information.

The file format default is {00020400-0000-0000-C000-000000000046}.

Trait Implementations§

source§

impl Clone for SiteClassInfo

source§

fn clone(&self) -> SiteClassInfo

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SiteClassInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<SiteClassInfo> for SiteClassInfo

source§

fn eq(&self, other: &SiteClassInfo) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for SiteClassInfo

source§

impl StructuralEq for SiteClassInfo

source§

impl StructuralPartialEq for SiteClassInfo

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

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 Twhere U: TryFrom<T>,

§

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.