itypeinfo

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ITypeInfo interface identifier 00020401-0000-0000-c000-000000000046
	TypeInfoIID = &dcom.IID{Data1: 0x00020401, Data2: 0x0000, Data3: 0x0000, Data4: []byte{0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}}
	// Syntax UUID
	TypeInfoSyntaxUUID = &uuid.UUID{TimeLow: 0x20401, TimeMid: 0x0, TimeHiAndVersion: 0x0, ClockSeqHiAndReserved: 0xc0, ClockSeqLow: 0x0, Node: [6]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x46}}
	// Syntax ID
	TypeInfoSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: TypeInfoSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/oaut"
)

Functions

func NewTypeInfoServerHandle

func NewTypeInfoServerHandle(o TypeInfoServer) dcerpc.ServerHandle

func RegisterTypeInfoServer

func RegisterTypeInfoServer(conn dcerpc.Conn, o TypeInfoServer, opts ...dcerpc.Option)

func TypeInfoServerHandle

func TypeInfoServerHandle(ctx context.Context, o TypeInfoServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)

Types

type CreateInstanceRequest

type CreateInstanceRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// riid: MUST be an IID.
	IID *dcom.IID `idl:"name:riid" json:"iid"`
}

CreateInstanceRequest structure represents the CreateInstance operation request

func (*CreateInstanceRequest) MarshalNDR

func (o *CreateInstanceRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateInstanceRequest) UnmarshalNDR

func (o *CreateInstanceRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type CreateInstanceResponse

type CreateInstanceResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppvObj:  MUST be set to reference an existing instance of the coclass described
	// by the ITypeInfo server, if the coclass was declared with the [predeclid] or [appobject]
	// attributes and an instance of the coclass exists. MUST be set to NULL if the coclass
	// was declared with the [noncreatable] attribute. Otherwise, MUST be set to a new instance
	// of the coclass described by the ITypeInfo server or NULL if the class cannot be instantiated.
	Object *dcom.Unknown `idl:"name:ppvObj" json:"object"`
	// Return: The CreateInstance return value.
	Return int32 `idl:"name:Return" json:"return"`
}

CreateInstanceResponse structure represents the CreateInstance operation response

func (*CreateInstanceResponse) MarshalNDR

func (o *CreateInstanceResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*CreateInstanceResponse) UnmarshalNDR

func (o *CreateInstanceResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetContainingTypeLibRequest

type GetContainingTypeLibRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetContainingTypeLibRequest structure represents the GetContainingTypeLib operation request

func (*GetContainingTypeLibRequest) MarshalNDR

func (*GetContainingTypeLibRequest) UnmarshalNDR

func (o *GetContainingTypeLibRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetContainingTypeLibResponse

type GetContainingTypeLibResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppTLib: MUST be set to a reference to an ITypeLib server instance (see section 3.11).
	Lib *oaut.TypeLib `idl:"name:ppTLib" json:"lib"`
	// pIndex: MUST be set to the index value of the current automation type description
	// within the type information table (see section 3.11.1).
	Index uint32 `idl:"name:pIndex" json:"index"`
	// Return: The GetContainingTypeLib return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetContainingTypeLibResponse structure represents the GetContainingTypeLib operation response

func (*GetContainingTypeLibResponse) MarshalNDR

func (*GetContainingTypeLibResponse) UnmarshalNDR

func (o *GetContainingTypeLibResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetDLLEntryRequest

type GetDLLEntryRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// memid: MUST be the MEMBERID of a method member of the module defined in the automation
	// type library.
	MemberID int32 `idl:"name:memid" json:"member_id"`
	// invKind: MUST be a value of the INVOKEKIND (section 2.2.14) enumeration that specifies
	// a single property accessor method, if memid corresponds to a property with multiple
	// accessors.
	InvKind oaut.InvokeKind `idl:"name:invKind" json:"inv_kind"`
	// refPtrFlags: MUST be a combination of the bit flags specified in the following table,
	// or 0.
	//
	//	+--------------------------------+----------------------------------------------------------------------------------+
	//	|                                |                                                                                  |
	//	|             VALUE              |                                     MEANING                                      |
	//	|                                |                                                                                  |
	//	+--------------------------------+----------------------------------------------------------------------------------+
	//	+--------------------------------+----------------------------------------------------------------------------------+
	//	| TYPEINFO_DLLNameArg 0x00000001 | MUST specify that the client is interested in the actual pBstrDllName [out]      |
	//	|                                | argument.                                                                        |
	//	+--------------------------------+----------------------------------------------------------------------------------+
	//	| TYPEINFO_NameArg 0x00000002    | MUST specify that the client is interested in the actual pBstrName [out]         |
	//	|                                | argument.                                                                        |
	//	+--------------------------------+----------------------------------------------------------------------------------+
	//	| TYPEINFO_OrdinalArg 0x00000004 | MUST specify that the client is interested in the actual pwOrdinal [out]         |
	//	|                                | argument.                                                                        |
	//	+--------------------------------+----------------------------------------------------------------------------------+
	PointerFlags uint32 `idl:"name:refPtrFlags" json:"pointer_flags"`
}

GetDLLEntryRequest structure represents the GetDllEntry operation request

func (*GetDLLEntryRequest) MarshalNDR

func (o *GetDLLEntryRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetDLLEntryRequest) UnmarshalNDR

func (o *GetDLLEntryRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetDLLEntryResponse

type GetDLLEntryResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pBstrDllName: MUST be set to the value associated with the method using the [dllname]
	// attribute (see section 2.2.49.9) if the TYPEINFO_DllNameArg bit flag is set in refPtrFlags.
	// MUST be set to a NULL BSTR otherwise.
	DLLName *oaut.String `idl:"name:pBstrDllName" json:"dll_name"`
	// pBstrName: MUST be set to the value associated with the method using the [entry]
	// attribute (see section 2.2.49.9), if the associated value is a string and the TYPEINFO_NameArg
	// bit flag is set in refPtrFlags. MUST be set to a NULL BSTR otherwise.
	Name *oaut.String `idl:"name:pBstrName" json:"name"`
	// pwOrdinal: MUST be set to the value associated with the method using the [entry]
	// attribute (see section 2.2.49.9), if the associated value is an integer and the TYPEINFO_OrdinalArg
	// bit flag is set in refPtrFlags. MUST be set to 0 otherwise.
	Ordinal uint16 `idl:"name:pwOrdinal" json:"ordinal"`
	// Return: The GetDllEntry return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetDLLEntryResponse structure represents the GetDllEntry operation response

func (*GetDLLEntryResponse) MarshalNDR

func (o *GetDLLEntryResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetDLLEntryResponse) UnmarshalNDR

func (o *GetDLLEntryResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetDocumentationRequest

type GetDocumentationRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// memid: MUST be either the MEMBERID of a method or data member in the binding context
	// of the ITypeInfo server (see section 3.5.4.1.1), or MEMBERID_NIL (see section 2.2.35.1).
	MemberID int32 `idl:"name:memid" json:"member_id"`
	// refPtrFlags: MUST be a combination of the bit flags specified in the following table,
	// or 0.
	//
	//	+------------------------------------+----------------------------------------------------------------------------------+
	//	|                                    |                                                                                  |
	//	|               VALUE                |                                     MEANING                                      |
	//	|                                    |                                                                                  |
	//	+------------------------------------+----------------------------------------------------------------------------------+
	//	+------------------------------------+----------------------------------------------------------------------------------+
	//	| TYPEINFO_NameArg 0x00000001        | MUST specify that the client is interested in the actual pBstrName [out]         |
	//	|                                    | argument.                                                                        |
	//	+------------------------------------+----------------------------------------------------------------------------------+
	//	| TYPEINFO_DocStringArg 0x00000002   | MUST specify that the client is interested in the actual pBstrDocString [out]    |
	//	|                                    | argument.                                                                        |
	//	+------------------------------------+----------------------------------------------------------------------------------+
	//	| TYPEINFO_HelpContextArg 0x00000004 | MUST specify that the client is interested in the actual pdwHelpContext [out]    |
	//	|                                    | argument.                                                                        |
	//	+------------------------------------+----------------------------------------------------------------------------------+
	//	| TYPEINFO_HelpFileArg 0x00000008    | MUST specify that the client is interested in the actual pBstrHelpFile [out]     |
	//	|                                    | argument.                                                                        |
	//	+------------------------------------+----------------------------------------------------------------------------------+
	//
	// refPtrFlags: MUST be a combination of 0, or the bit flags specified in the following
	// table.
	//
	//	+-----------------------------------+----------------------------------------------------------------------------------+
	//	|                                   |                                                                                  |
	//	|               VALUE               |                                     MEANING                                      |
	//	|                                   |                                                                                  |
	//	+-----------------------------------+----------------------------------------------------------------------------------+
	//	+-----------------------------------+----------------------------------------------------------------------------------+
	//	| TYPELIB_NameArg 0x00000001        | MUST specify that the client is interested in the actual pBstrName [out]         |
	//	|                                   | argument.                                                                        |
	//	+-----------------------------------+----------------------------------------------------------------------------------+
	//	| TYPELIB_DocStringArg 0x00000002   | MUST specify that the client is interested in the actual pBstrDocString [out]    |
	//	|                                   | argument.                                                                        |
	//	+-----------------------------------+----------------------------------------------------------------------------------+
	//	| TYPELIB_HelpContextArg 0x00000004 | MUST specify that the client is interested in the actual pdwHelpContext [out]    |
	//	|                                   | argument.                                                                        |
	//	+-----------------------------------+----------------------------------------------------------------------------------+
	//	| TYPELIB_HelpFileArg 0x00000008    | MUST specify that the client is interested in the actual pBstrHelpFile [out]     |
	//	|                                   | argument.                                                                        |
	//	+-----------------------------------+----------------------------------------------------------------------------------+
	PointerFlags uint32 `idl:"name:refPtrFlags" json:"pointer_flags"`
}

GetDocumentationRequest structure represents the GetDocumentation operation request

func (*GetDocumentationRequest) MarshalNDR

func (o *GetDocumentationRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetDocumentationRequest) UnmarshalNDR

func (o *GetDocumentationRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetDocumentationResponse

type GetDocumentationResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pBstrName: If the TYPEINFO_NameArg bit flag is set in refPtrFlags,pBstrName MUST
	// be set to a BSTR that contains the name of the type or specified type member. Othernwise,
	// pBstrName MUST be set to a NULL BSTR.
	//
	// pBstrName: MUST be set to a BSTR that contains the name of the specified type or
	// Type library if the TYPELIB_NameArg bit flag is set in refPtrFlags. MUST be set to
	// a NULL BSTR otherwise.
	Name *oaut.String `idl:"name:pBstrName" json:"name"`
	// pBstrDocString: MUST be set to the documentation string that was associated with
	// the type or specified type member using the [helpstring] attribute (see section 2.2.49.2),
	// if the TYPEINFO_DocStringArg bit flag is set in refPtrFlags. MAY be set to an implementation-specific
	// string<59> if no [helpstring] attribute is specified. MUST be set to a NULL BSTR
	// otherwise.
	//
	// pBstrDocString: MUST be set to the documentation string that was associated with
	// the specified type or Type library using the [helpstring] attribute (see section
	// 2.2.49.2), if the TYPELIB_DocStringArg bit flag is set in refPtrFlags. MAY be set
	// to an implementation-specific string<61> if no [helpstring] attribute is specified.
	// MUST be set to a NULL BSTR otherwise.
	DocString *oaut.String `idl:"name:pBstrDocString" json:"doc_string"`
	// pdwHelpContext: MUST be set to the value that was associated with the type or specified
	// type member using the [helpcontext] attribute (see section 2.2.49.2), if the TYPEINFO_HelpContextArg
	// bit flag is set in refPtrFlags. MUST be set to 0 otherwise.
	//
	// pdwHelpContext: MUST be set to the value that was associated with the specified type
	// or Type library using the [helpcontext] attribute (see section 2.2.49.2), if the
	// TYPELIB_HelpContextArg bit flag is set in refPtrFlags. MUST be set to 0 otherwise.
	HelpContext uint32 `idl:"name:pdwHelpContext" json:"help_context"`
	// pBstrHelpFile: MUST be set to the documentation string that was associated with the
	// type or specified type member using the [helpfile] attribute (see section 2.2.49.2),
	// if the TYPEINFO_HelpFileArg bit flag is set in refPtrFlags. MUST be set to a NULL
	// BSTR otherwise.
	//
	// pBstrHelpFile: MUST be set to the documentation string that was associated with the
	// specified type or Type library using the [helpfile] attribute (see section 2.2.49.2),
	// if the TYPELIB_HelpFileArg bit flag is set in refPtrFlags. MUST be set to a NULL
	// BSTR otherwise.
	HelpFile *oaut.String `idl:"name:pBstrHelpFile" json:"help_file"`
	// Return: The GetDocumentation return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetDocumentationResponse structure represents the GetDocumentation operation response

func (*GetDocumentationResponse) MarshalNDR

func (o *GetDocumentationResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetDocumentationResponse) UnmarshalNDR

func (o *GetDocumentationResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetFuncDescRequest

type GetFuncDescRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// index: MUST equal the ordinal position in the method table (if the type describes
	// a DCOM interface or module) or the dispatch method table (if the type describes a
	// dispinterface) of the method whose description is to be returned. The value of index
	// MUST be less than the value of the cFuncs field in the TYPEATTR (section 2.2.44)
	// structure returned by the GetTypeAttr (section 3.7.4.1) method.
	Index uint32 `idl:"name:index" json:"index"`
}

GetFuncDescRequest structure represents the GetFuncDesc operation request

func (*GetFuncDescRequest) MarshalNDR

func (o *GetFuncDescRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetFuncDescRequest) UnmarshalNDR

func (o *GetFuncDescRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetFuncDescResponse

type GetFuncDescResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppFuncDesc: MUST be set to a FUNCDESC structure (see section 2.2.42) that contains
	// the data values associated with the specified member of the method or dispatch method
	// table, or NULL if no such member exists.
	FuncDesc *oaut.FuncDesc `idl:"name:ppFuncDesc" json:"func_desc"`
	// Return: The GetFuncDesc return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetFuncDescResponse structure represents the GetFuncDesc operation response

func (*GetFuncDescResponse) MarshalNDR

func (o *GetFuncDescResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetFuncDescResponse) UnmarshalNDR

func (o *GetFuncDescResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetImplTypeFlagsRequest

type GetImplTypeFlagsRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// index: MUST be the ordinal position in the coclass interface table of the interface
	// whose associated IMPLTYPEFLAGS values are to be returned.
	Index uint32 `idl:"name:index" json:"index"`
}

GetImplTypeFlagsRequest structure represents the GetImplTypeFlags operation request

func (*GetImplTypeFlagsRequest) MarshalNDR

func (o *GetImplTypeFlagsRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetImplTypeFlagsRequest) UnmarshalNDR

func (o *GetImplTypeFlagsRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetImplTypeFlagsResponse

type GetImplTypeFlagsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pImplTypeFlags: MUST be set to either a combination of the IMPLTYPEFLAGS feature
	// constants specified in section 2.2.13, or 0.
	ImplTypeFlags int32 `idl:"name:pImplTypeFlags" json:"impl_type_flags"`
	// Return: The GetImplTypeFlags return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetImplTypeFlagsResponse structure represents the GetImplTypeFlags operation response

func (*GetImplTypeFlagsResponse) MarshalNDR

func (o *GetImplTypeFlagsResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetImplTypeFlagsResponse) UnmarshalNDR

func (o *GetImplTypeFlagsResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetMopsRequest

type GetMopsRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// memid: MUST be a nonzero MEMBERID.
	MemberID int32 `idl:"name:memid" json:"member_id"`
}

GetMopsRequest structure represents the GetMops operation request

func (*GetMopsRequest) MarshalNDR

func (o *GetMopsRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetMopsRequest) UnmarshalNDR

func (o *GetMopsRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetMopsResponse

type GetMopsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pBstrMops: MUST be set to a NULL BSTR.
	Mops *oaut.String `idl:"name:pBstrMops" json:"mops"`
	// Return: The GetMops return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetMopsResponse structure represents the GetMops operation response

func (*GetMopsResponse) MarshalNDR

func (o *GetMopsResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetMopsResponse) UnmarshalNDR

func (o *GetMopsResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetNamesRequest

type GetNamesRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// memid: MUST be a MEMBERID (section 2.2.35).
	MemberID int32 `idl:"name:memid" json:"member_id"`
	// cMaxNames: MUST specify the maximum length of the rgBstrNames array that the client
	// can accept.
	MaxNamesCount uint32 `idl:"name:cMaxNames" json:"max_names_count"`
}

GetNamesRequest structure represents the GetNames operation request

func (*GetNamesRequest) MarshalNDR

func (o *GetNamesRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetNamesRequest) UnmarshalNDR

func (o *GetNamesRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetNamesResponse

type GetNamesResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// rgBstrNames: MUST be set to an array of BSTR. If pcNames is 0, rgBstrNames MUST be
	// NULL.
	Names []*oaut.String `idl:"name:rgBstrNames;size_is:(cMaxNames);length_is:(pcNames)" json:"names"`
	// pcNames: MUST be set to the length of the rgBstrNames array.
	NamesCount uint32 `idl:"name:pcNames" json:"names_count"`
	// Return: The GetNames return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetNamesResponse structure represents the GetNames operation response

func (*GetNamesResponse) MarshalNDR

func (o *GetNamesResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetNamesResponse) UnmarshalNDR

func (o *GetNamesResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetReferenceTypeInfoRequest

type GetReferenceTypeInfoRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// hRefType: MUST be an HREFTYPE (section 2.2.36) that has been provided by the ITypeInfo
	// server instance whose GetRefTypeInfo method is being called.
	TypeHandle uint32 `idl:"name:hRefType" json:"type_handle"`
}

GetReferenceTypeInfoRequest structure represents the GetRefTypeInfo operation request

func (*GetReferenceTypeInfoRequest) MarshalNDR

func (*GetReferenceTypeInfoRequest) UnmarshalNDR

func (o *GetReferenceTypeInfoRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetReferenceTypeInfoResponse

type GetReferenceTypeInfoResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppTInfo: MUST be set to a reference to an ITypeInfo server instance that provides
	// an automation type description of the inherited or referenced interface, or NULL
	// if hRefType does not specify an available interface.
	TypeInfo *oaut.TypeInfo `idl:"name:ppTInfo" json:"type_info"`
	// Return: The GetRefTypeInfo return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetReferenceTypeInfoResponse structure represents the GetRefTypeInfo operation response

func (*GetReferenceTypeInfoResponse) MarshalNDR

func (*GetReferenceTypeInfoResponse) UnmarshalNDR

func (o *GetReferenceTypeInfoResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetReferenceTypeOfImplTypeRequest

type GetReferenceTypeOfImplTypeRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// index: MUST be a nonnegative integer, or -1.
	//
	// If the ITypeInfo server describes a dual interface (see sections 2.2.49.4.2 and 3.7.1),
	// the value of index MUST be 0 or -1.
	//
	// If the ITypeInfo server describes a coclass, the value of index MUST be nonnegative
	// and less than the value of the cImplTypes field in the TYPEATTR (section 2.2.44)
	// structure returned by the GetTypeAttr (section 3.7.4.1) method.
	Index uint32 `idl:"name:index" json:"index"`
}

GetReferenceTypeOfImplTypeRequest structure represents the GetRefTypeOfImplType operation request

func (*GetReferenceTypeOfImplTypeRequest) MarshalNDR

func (*GetReferenceTypeOfImplTypeRequest) UnmarshalNDR

type GetReferenceTypeOfImplTypeResponse

type GetReferenceTypeOfImplTypeResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pRefType: MUST be set to one of the following values, if index is -1 or specifies
	// an interface table entry.
	//
	// If the ITypeInfo server describes a dual interface and index is -1, pRefType is specified
	// by the TYPEKIND value associated with the ITypeInfo server (see section 2.2.44):
	//
	// TKIND_DISPATCH: MUST be set to the HREFTYPE of the partner interface.
	//
	// TKIND_INTERFACE: MUST be set to the HREFTYPE of the partner dispinterface.
	//
	// In all other cases, pRefType is specified by the interface table member whose ordinal
	// position is specified by index:
	//
	// If the interface table member is a dual interface and the ITypeInfo server describes
	// a DCOM interface or partner interface, pRefType MUST be the HREFTYPE of the partner
	// interface of the interface table member.
	//
	// Note  This is the only case where an OLE Automation Protocol interface method returns
	// a partner interface by default.
	//
	// If the interface table member is a dual interface and the ITypeInfo server describes
	// a coclass, pRefType MUST be the HREFTYPE of the partner dispinterface of the interface
	// table member.
	ReferenceType uint32 `idl:"name:pRefType" json:"reference_type"`
	// Return: The GetRefTypeOfImplType return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetReferenceTypeOfImplTypeResponse structure represents the GetRefTypeOfImplType operation response

func (*GetReferenceTypeOfImplTypeResponse) MarshalNDR

func (*GetReferenceTypeOfImplTypeResponse) UnmarshalNDR

type GetTypeAttributeRequest

type GetTypeAttributeRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetTypeAttributeRequest structure represents the GetTypeAttr operation request

func (*GetTypeAttributeRequest) MarshalNDR

func (o *GetTypeAttributeRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetTypeAttributeRequest) UnmarshalNDR

func (o *GetTypeAttributeRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetTypeAttributeResponse

type GetTypeAttributeResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppTypeAttr: MUST be set to a TYPEATTR structure whose data values describe the type
	// associated with the ITypeInfo server, as specified in section 2.2.44.
	TypeAttribute *oaut.TypeAttribute `idl:"name:ppTypeAttr" json:"type_attribute"`
	// Return: The GetTypeAttr return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetTypeAttributeResponse structure represents the GetTypeAttr operation response

func (*GetTypeAttributeResponse) MarshalNDR

func (o *GetTypeAttributeResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetTypeAttributeResponse) UnmarshalNDR

func (o *GetTypeAttributeResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetTypeCompRequest

type GetTypeCompRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetTypeCompRequest structure represents the GetTypeComp operation request

func (*GetTypeCompRequest) MarshalNDR

func (o *GetTypeCompRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetTypeCompRequest) UnmarshalNDR

func (o *GetTypeCompRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetTypeCompResponse

type GetTypeCompResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppTComp: MUST be set to a reference to the ITypeComp server instance associated with
	// the ITypeInfo server (see section 3.5).
	//
	// ppTComp: MUST be set to a reference to the ITypeComp server instance associated with
	// the automation type library, or to NULL if the automation type library does not have
	// an associated ITypeComp server instance.
	Comp *oaut.TypeComp `idl:"name:ppTComp" json:"comp"`
	// Return: The GetTypeComp return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetTypeCompResponse structure represents the GetTypeComp operation response

func (*GetTypeCompResponse) MarshalNDR

func (o *GetTypeCompResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetTypeCompResponse) UnmarshalNDR

func (o *GetTypeCompResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetVarDescRequest

type GetVarDescRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// index: MUST equal the data member table index value of the data member whose description
	// is to be returned. The value of index MUST be less than the value of the cVars field
	// in the TYPEATTR structure returned by the GetTypeAttr method, as specified in 3.7.4.1
	// and 2.2.44.
	Index uint32 `idl:"name:index" json:"index"`
}

GetVarDescRequest structure represents the GetVarDesc operation request

func (*GetVarDescRequest) MarshalNDR

func (o *GetVarDescRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetVarDescRequest) UnmarshalNDR

func (o *GetVarDescRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetVarDescResponse

type GetVarDescResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppVarDesc: MUST be set to a VARDESC structure (see section 2.2.43) that contains
	// the data values associated with the specified member of the data member table, or
	// NULL if no such member exists.
	VarDesc *oaut.VarDesc `idl:"name:ppVarDesc" json:"var_desc"`
	// Return: The GetVarDesc return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetVarDescResponse structure represents the GetVarDesc operation response

func (*GetVarDescResponse) MarshalNDR

func (o *GetVarDescResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetVarDescResponse) UnmarshalNDR

func (o *GetVarDescResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type TypeInfoClient

type TypeInfoClient interface {

	// IUnknown retrieval method.
	Unknown() iunknown.UnknownClient

	// The GetTypeAttr method retrieves a TYPEATTR structure that contains information about
	// the type described by the ITypeInfo server.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1, the method failed and encountered a fatal error.
	GetTypeAttribute(context.Context, *GetTypeAttributeRequest, ...dcerpc.CallOption) (*GetTypeAttributeResponse, error)

	// The GetTypeComp method retrieves a reference to the ITypeComp server instance associated
	// with the ITypeInfo server.
	//
	// The GetTypeComp method retrieves a reference to the ITypeComp server instance associated
	// with the ITypeLib server.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the sevierty bit is set to 1, the method failed and encountered a fatal error.
	GetTypeComp(context.Context, *GetTypeCompRequest, ...dcerpc.CallOption) (*GetTypeCompResponse, error)

	// The GetFuncDesc method retrieves a FUNCDESC structure that contains information about
	// a member of the ITypeInfo server's method or dispatch method table.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value
	// in the following table, a fatal failure occurred.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in
	// the following table, a failure occurred.
	//
	// Return value/code
	//
	// # Description
	//
	// 0x8002802B
	//
	// TYPE_E_ELEMENTNOTFOUND
	//
	// The value of index did not specify the ordinal position of an element in the method
	// table.
	GetFuncDesc(context.Context, *GetFuncDescRequest, ...dcerpc.CallOption) (*GetFuncDescResponse, error)

	// The GetVarDesc method retrieves a VARDESC structure that contains information about
	// a member of the ITypeInfo server's data member table.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value
	// in the following table, a fatal failure occurred.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in
	// the following table, a failure occurred.
	//
	// Return value/code
	//
	// # Description
	//
	// 0x8002802B
	//
	// TYPE_E_ELEMENTNOTFOUND
	//
	// The value of index and invKind did not specify the ordinal position of an element
	// in the method table. See [MS-ERREF].
	GetVarDesc(context.Context, *GetVarDescRequest, ...dcerpc.CallOption) (*GetVarDescResponse, error)

	// The GetNames method retrieves the data member name or the method and parameter names
	// associated with a specified MEMBERID.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value
	// in the following table, a fatal failure occurred.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in
	// the following table, a failure occurred.
	//
	// Return value/code
	//
	// # Description
	//
	// 0x8002802B
	//
	// TYPE_E_ELEMENTNOTFOUND
	//
	// The value of memid did not specify the MEMBERID of a member of the type. See [MS-ERREF].
	//
	// If the memid field corresponds to multiple property accessor methods, the contents
	// of rgBstrNames MUST correspond to the [propget] property accessor.
	//
	// If the ITypeInfo server represents an appobject coclass (see section 2.2.49.8) and
	// memid is MEMBERID_DEFAULTINST, the first element of rgBstrNames MUST be set to the
	// name of the coclass.
	//
	// In all other cases, the first element of rgBstrNames MUST be set to the name of the
	// method or data element in the binding context of the ITypeInfo server that corresponds
	// to the value of memid.
	//
	// If memid specifies a method or property accessor method, the remaining elements of
	// rgBstrNames MUST be set to the names of entries in its parameter table, in the order
	// in which they are stored in the parameter table.
	//
	// If memid specifies a put or putref property, the rgBstrNames array MUST NOT include
	// the name of the [retval] parameter. If memid specifies a member of a dispinterface,
	// the rgBstrNames array MUST NOT include the names of [lcid] or [retval] parameters
	// (see section 3.1.4.4). In all other cases, the rgBstrNames array MUST include all
	// members of the parameter table.
	GetNames(context.Context, *GetNamesRequest, ...dcerpc.CallOption) (*GetNamesResponse, error)

	// The GetRefTypeOfImplType method retrieves the HREFTYPE corresponding to the automation
	// type description of an interface that is inherited, implemented, or referenced by
	// the ITypeInfo server.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value
	// in the following table, a fatal failure occurred.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in
	// the following table, a failure occurred.
	//
	// Return value/code
	//
	// # Description
	//
	// 0x8002802B
	//
	// TYPE_E_ELEMENTNOTFOUND
	//
	// The value of index did not specify the ordinal position of an element in the interface
	// table, or the value of index was -1 and the type was not a dual interface. See [MS-ERREF].
	GetReferenceTypeOfImplType(context.Context, *GetReferenceTypeOfImplTypeRequest, ...dcerpc.CallOption) (*GetReferenceTypeOfImplTypeResponse, error)

	// The GetImplTypeFlags method retrieves the IMPLTYPEFLAGS values associated with an
	// interface member of a coclass.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value
	// in the following table, a fatal failure occurred.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in
	// the following table, a failure occurred.
	//
	// Return value/code
	//
	// # Description
	//
	// 0x8002802B
	//
	// TYPE_E_ELEMENTNOTFOUND
	//
	// The value of index did not specify the ordinal position of an element in the interface
	// table. See [MS-ERREF].
	GetImplTypeFlags(context.Context, *GetImplTypeFlagsRequest, ...dcerpc.CallOption) (*GetImplTypeFlagsResponse, error)

	// The GetDocumentation method retrieves the documentation resources associated with
	// a type member.
	//
	// The GetDocumentation method retrieves the documentation resources associated with
	// the automation type library.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1, the method failed and encountered a fatal error.
	//
	// If memid is MEMBERID_NIL, the values of pBstrName, pBstrDocString, pdwHelpContext,
	// and pBstrHelpFile MUST correspond to the attributes declared with the type, as specified
	// in section 2.2.49.3. Otherwise, they MUST correspond to the attributes declared with
	// the specified member of the type.
	GetDocumentation(context.Context, *GetDocumentationRequest, ...dcerpc.CallOption) (*GetDocumentationResponse, error)

	// The GetDllEntry method retrieves values associated with a local-only method defined
	// in a module.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value
	// in the following table, a fatal failure occurred.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in
	// the following table, a failure occurred.
	//
	// Return value/code
	//
	// # Description
	//
	// 0x800288BD
	//
	// TYPE_E_BADMODULEKIND
	//
	// The type is not a module. See [MS-ERREF].
	//
	// 0x8002802C
	//
	// TYPE_E_AMBIGUOUSNAME
	//
	// The values of memid and invKind match more than one element in the binding context.
	// See [MS-ERREF].
	//
	// 0x8002802B
	//
	// TYPE_E_ELEMENTNOTFOUND
	//
	// The value of memid and invKind did not specify the ordinal position of an element
	// in the interface table, or the type is not a coclass ( 5583e1b8-454c-4147-9f56-f72416a15bee#gt_670b0ee2-d101-41b0-ac77-6ac7dbeee7dc
	// ). See [MS-ERREF].
	GetDLLEntry(context.Context, *GetDLLEntryRequest, ...dcerpc.CallOption) (*GetDLLEntryResponse, error)

	// The GetRefTypeInfo method retrieves an automation type description that describes
	// a type that is inherited, implemented, or referenced by the ITypeInfo server.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1, the method failed and encountered a fatal error.
	GetReferenceTypeInfo(context.Context, *GetReferenceTypeInfoRequest, ...dcerpc.CallOption) (*GetReferenceTypeInfoResponse, error)

	// The CreateInstance method creates a new instance of a type that describes a COM server
	// (coclass).
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value
	// in the following table, a fatal failure occurred.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in
	// the following table, a failure occurred.
	//
	// Return value/code
	//
	// # Description
	//
	// 0x80000004
	//
	// TYPE_E_NOINTERFACE
	//
	// The value of riid did not specify a known type. See [MS-ERREF].
	//
	// 0x800288BD
	//
	// TYPE_E_BADMODULEKIND
	//
	// The ITypeInfo server specified a non-coclass type. See [MS-ERREF].
	CreateInstance(context.Context, *CreateInstanceRequest, ...dcerpc.CallOption) (*CreateInstanceResponse, error)

	// The GetMops method has no effect when called across the wire.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1, the method failed and encountered a fatal error.
	GetMops(context.Context, *GetMopsRequest, ...dcerpc.CallOption) (*GetMopsResponse, error)

	// The GetContainingTypeLib method retrieves the ITypeLib server instance whose type
	// information table contains the ITypeInfo instance, and the index of the ITypeInfo
	// instance within the type information table.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1, the method failed and encountered a fatal error.
	GetContainingTypeLib(context.Context, *GetContainingTypeLibRequest, ...dcerpc.CallOption) (*GetContainingTypeLibResponse, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error

	// IPID sets the object interface identifier.
	IPID(context.Context, *dcom.IPID) TypeInfoClient
}

ITypeInfo interface.

func NewTypeInfoClient

func NewTypeInfoClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (TypeInfoClient, error)

type TypeInfoServer

type TypeInfoServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// The GetTypeAttr method retrieves a TYPEATTR structure that contains information about
	// the type described by the ITypeInfo server.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1, the method failed and encountered a fatal error.
	GetTypeAttribute(context.Context, *GetTypeAttributeRequest) (*GetTypeAttributeResponse, error)

	// The GetTypeComp method retrieves a reference to the ITypeComp server instance associated
	// with the ITypeInfo server.
	//
	// The GetTypeComp method retrieves a reference to the ITypeComp server instance associated
	// with the ITypeLib server.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the sevierty bit is set to 1, the method failed and encountered a fatal error.
	GetTypeComp(context.Context, *GetTypeCompRequest) (*GetTypeCompResponse, error)

	// The GetFuncDesc method retrieves a FUNCDESC structure that contains information about
	// a member of the ITypeInfo server's method or dispatch method table.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value
	// in the following table, a fatal failure occurred.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in
	// the following table, a failure occurred.
	//
	// Return value/code
	//
	// # Description
	//
	// 0x8002802B
	//
	// TYPE_E_ELEMENTNOTFOUND
	//
	// The value of index did not specify the ordinal position of an element in the method
	// table.
	GetFuncDesc(context.Context, *GetFuncDescRequest) (*GetFuncDescResponse, error)

	// The GetVarDesc method retrieves a VARDESC structure that contains information about
	// a member of the ITypeInfo server's data member table.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value
	// in the following table, a fatal failure occurred.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in
	// the following table, a failure occurred.
	//
	// Return value/code
	//
	// # Description
	//
	// 0x8002802B
	//
	// TYPE_E_ELEMENTNOTFOUND
	//
	// The value of index and invKind did not specify the ordinal position of an element
	// in the method table. See [MS-ERREF].
	GetVarDesc(context.Context, *GetVarDescRequest) (*GetVarDescResponse, error)

	// The GetNames method retrieves the data member name or the method and parameter names
	// associated with a specified MEMBERID.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value
	// in the following table, a fatal failure occurred.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in
	// the following table, a failure occurred.
	//
	// Return value/code
	//
	// # Description
	//
	// 0x8002802B
	//
	// TYPE_E_ELEMENTNOTFOUND
	//
	// The value of memid did not specify the MEMBERID of a member of the type. See [MS-ERREF].
	//
	// If the memid field corresponds to multiple property accessor methods, the contents
	// of rgBstrNames MUST correspond to the [propget] property accessor.
	//
	// If the ITypeInfo server represents an appobject coclass (see section 2.2.49.8) and
	// memid is MEMBERID_DEFAULTINST, the first element of rgBstrNames MUST be set to the
	// name of the coclass.
	//
	// In all other cases, the first element of rgBstrNames MUST be set to the name of the
	// method or data element in the binding context of the ITypeInfo server that corresponds
	// to the value of memid.
	//
	// If memid specifies a method or property accessor method, the remaining elements of
	// rgBstrNames MUST be set to the names of entries in its parameter table, in the order
	// in which they are stored in the parameter table.
	//
	// If memid specifies a put or putref property, the rgBstrNames array MUST NOT include
	// the name of the [retval] parameter. If memid specifies a member of a dispinterface,
	// the rgBstrNames array MUST NOT include the names of [lcid] or [retval] parameters
	// (see section 3.1.4.4). In all other cases, the rgBstrNames array MUST include all
	// members of the parameter table.
	GetNames(context.Context, *GetNamesRequest) (*GetNamesResponse, error)

	// The GetRefTypeOfImplType method retrieves the HREFTYPE corresponding to the automation
	// type description of an interface that is inherited, implemented, or referenced by
	// the ITypeInfo server.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value
	// in the following table, a fatal failure occurred.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in
	// the following table, a failure occurred.
	//
	// Return value/code
	//
	// # Description
	//
	// 0x8002802B
	//
	// TYPE_E_ELEMENTNOTFOUND
	//
	// The value of index did not specify the ordinal position of an element in the interface
	// table, or the value of index was -1 and the type was not a dual interface. See [MS-ERREF].
	GetReferenceTypeOfImplType(context.Context, *GetReferenceTypeOfImplTypeRequest) (*GetReferenceTypeOfImplTypeResponse, error)

	// The GetImplTypeFlags method retrieves the IMPLTYPEFLAGS values associated with an
	// interface member of a coclass.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value
	// in the following table, a fatal failure occurred.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in
	// the following table, a failure occurred.
	//
	// Return value/code
	//
	// # Description
	//
	// 0x8002802B
	//
	// TYPE_E_ELEMENTNOTFOUND
	//
	// The value of index did not specify the ordinal position of an element in the interface
	// table. See [MS-ERREF].
	GetImplTypeFlags(context.Context, *GetImplTypeFlagsRequest) (*GetImplTypeFlagsResponse, error)

	// The GetDocumentation method retrieves the documentation resources associated with
	// a type member.
	//
	// The GetDocumentation method retrieves the documentation resources associated with
	// the automation type library.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1, the method failed and encountered a fatal error.
	//
	// If memid is MEMBERID_NIL, the values of pBstrName, pBstrDocString, pdwHelpContext,
	// and pBstrHelpFile MUST correspond to the attributes declared with the type, as specified
	// in section 2.2.49.3. Otherwise, they MUST correspond to the attributes declared with
	// the specified member of the type.
	GetDocumentation(context.Context, *GetDocumentationRequest) (*GetDocumentationResponse, error)

	// The GetDllEntry method retrieves values associated with a local-only method defined
	// in a module.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value
	// in the following table, a fatal failure occurred.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in
	// the following table, a failure occurred.
	//
	// Return value/code
	//
	// # Description
	//
	// 0x800288BD
	//
	// TYPE_E_BADMODULEKIND
	//
	// The type is not a module. See [MS-ERREF].
	//
	// 0x8002802C
	//
	// TYPE_E_AMBIGUOUSNAME
	//
	// The values of memid and invKind match more than one element in the binding context.
	// See [MS-ERREF].
	//
	// 0x8002802B
	//
	// TYPE_E_ELEMENTNOTFOUND
	//
	// The value of memid and invKind did not specify the ordinal position of an element
	// in the interface table, or the type is not a coclass ( 5583e1b8-454c-4147-9f56-f72416a15bee#gt_670b0ee2-d101-41b0-ac77-6ac7dbeee7dc
	// ). See [MS-ERREF].
	GetDLLEntry(context.Context, *GetDLLEntryRequest) (*GetDLLEntryResponse, error)

	// The GetRefTypeInfo method retrieves an automation type description that describes
	// a type that is inherited, implemented, or referenced by the ITypeInfo server.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1, the method failed and encountered a fatal error.
	GetReferenceTypeInfo(context.Context, *GetReferenceTypeInfoRequest) (*GetReferenceTypeInfoResponse, error)

	// The CreateInstance method creates a new instance of a type that describes a COM server
	// (coclass).
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD does not match a value
	// in the following table, a fatal failure occurred.
	//
	// * If the severity bit is set to 1 and the entire HRESULT DWORD matches a value in
	// the following table, a failure occurred.
	//
	// Return value/code
	//
	// # Description
	//
	// 0x80000004
	//
	// TYPE_E_NOINTERFACE
	//
	// The value of riid did not specify a known type. See [MS-ERREF].
	//
	// 0x800288BD
	//
	// TYPE_E_BADMODULEKIND
	//
	// The ITypeInfo server specified a non-coclass type. See [MS-ERREF].
	CreateInstance(context.Context, *CreateInstanceRequest) (*CreateInstanceResponse, error)

	// The GetMops method has no effect when called across the wire.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1, the method failed and encountered a fatal error.
	GetMops(context.Context, *GetMopsRequest) (*GetMopsResponse, error)

	// The GetContainingTypeLib method retrieves the ITypeLib server instance whose type
	// information table contains the ITypeInfo instance, and the index of the ITypeInfo
	// instance within the type information table.
	//
	// Return Values: The method MUST return information in an HRESULT data structure, defined
	// in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following
	// conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1, the method failed and encountered a fatal error.
	GetContainingTypeLib(context.Context, *GetContainingTypeLibRequest) (*GetContainingTypeLibResponse, error)
}

ITypeInfo server interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL