itypeinfo2

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func NewTypeInfo2ServerHandle

func NewTypeInfo2ServerHandle(o TypeInfo2Server) dcerpc.ServerHandle

func RegisterTypeInfo2Server

func RegisterTypeInfo2Server(conn dcerpc.Conn, o TypeInfo2Server, opts ...dcerpc.Option)

func TypeInfo2ServerHandle

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

Types

type GetAllCustomDataRequest

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

GetAllCustomDataRequest structure represents the GetAllCustData operation request

func (*GetAllCustomDataRequest) MarshalNDR

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

func (*GetAllCustomDataRequest) UnmarshalNDR

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

type GetAllCustomDataResponse

type GetAllCustomDataResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pCustData: MUST be set to a CUSTDATA structure that contains an array of custom data
	// items, as specified in section 2.2.47. The structure's cCustData field MUST be set
	// to 0 and its prgCustData field set to NULL if there are no custom data items associated
	// with the automation type library.
	//
	// pCustData: MUST be set to a CUSTDATA structure that contains an array of custom data
	// items, as specified in section 2.2.47. The structure's cCustData field MUST be set
	// to 0 and its prgCustData field set to NULL, if there are no custom data items associated
	// with the automation type description.
	CustomData *oaut.CustomData `idl:"name:pCustData" json:"custom_data"`
	// Return: The GetAllCustData return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetAllCustomDataResponse structure represents the GetAllCustData operation response

func (*GetAllCustomDataResponse) MarshalNDR

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

func (*GetAllCustomDataResponse) UnmarshalNDR

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

type GetAllFuncCustomDataRequest

type GetAllFuncCustomDataRequest 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 specify an ordinal position in the method table and MUST be less than
	// the value of the cFuncs field in the TYPEATTR structure of the associated type, as
	// specified in sections 2.2.44 and 3.7.4.1.
	Index uint32 `idl:"name:index" json:"index"`
}

GetAllFuncCustomDataRequest structure represents the GetAllFuncCustData operation request

func (*GetAllFuncCustomDataRequest) MarshalNDR

func (*GetAllFuncCustomDataRequest) UnmarshalNDR

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

type GetAllFuncCustomDataResponse

type GetAllFuncCustomDataResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pCustData: MUST be set to a CUSTDATA structure that contains an array of custom data
	// items, as specified in section 2.2.49.5.1. The structure's cCustData field MUST be
	// set to 0 and its prgCustData field set to NULL, if there are no custom data items
	// associated with the method.
	CustomData *oaut.CustomData `idl:"name:pCustData" json:"custom_data"`
	// Return: The GetAllFuncCustData return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetAllFuncCustomDataResponse structure represents the GetAllFuncCustData operation response

func (*GetAllFuncCustomDataResponse) MarshalNDR

func (*GetAllFuncCustomDataResponse) UnmarshalNDR

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

type GetAllImplTypeCustomDataRequest

type GetAllImplTypeCustomDataRequest 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 specify an ordinal position in the interface table and MUST be less than
	// the value of the cImplTypes field in the TYPEATTR structure of the associated type,
	// as specified in sections 2.2.44 and 3.7.4.1.
	Index uint32 `idl:"name:index" json:"index"`
}

GetAllImplTypeCustomDataRequest structure represents the GetAllImplTypeCustData operation request

func (*GetAllImplTypeCustomDataRequest) MarshalNDR

func (*GetAllImplTypeCustomDataRequest) UnmarshalNDR

type GetAllImplTypeCustomDataResponse

type GetAllImplTypeCustomDataResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pCustData: MUST be set to a CUSTDATA structure that contains an array of custom data
	// items, as specified in section 2.2.49.8. The structure's cCustData field MUST be
	// set to 0 and its prgCustData field set to NULL if there are no custom data items
	// associated with the interface.
	CustomData *oaut.CustomData `idl:"name:pCustData" json:"custom_data"`
	// Return: The GetAllImplTypeCustData return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetAllImplTypeCustomDataResponse structure represents the GetAllImplTypeCustData operation response

func (*GetAllImplTypeCustomDataResponse) MarshalNDR

func (*GetAllImplTypeCustomDataResponse) UnmarshalNDR

type GetAllParamCustomDataRequest

type GetAllParamCustomDataRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// indexFunc: MUST specify an ordinal position in the method table and MUST be less
	// than the value of the cFuncs field in the TYPEATTR structure of the associated type,
	// as specified in sections 2.2.44 and 3.7.4.1.
	IndexFunc uint32 `idl:"name:indexFunc" json:"index_func"`
	// indexParam: MUST specify an ordinal position in the parameter table of the method
	// specified by indexFunc. The value of indexParam MUST be less than the value of the
	// cParams field in the FUNCDESC structure of the associated method, as specified in
	// sections 2.2.42 and 3.7.4.3.
	IndexParam uint32 `idl:"name:indexParam" json:"index_param"`
}

GetAllParamCustomDataRequest structure represents the GetAllParamCustData operation request

func (*GetAllParamCustomDataRequest) MarshalNDR

func (*GetAllParamCustomDataRequest) UnmarshalNDR

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

type GetAllParamCustomDataResponse

type GetAllParamCustomDataResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pCustData: MUST be set to a CUSTDATA structure that contains an array of custom data
	// items, as specified in section 2.2.49.6. The structure's cCustData field MUST be
	// set to 0 and its prgCustData field set to NULL, if there are no custom data items
	// associated with the parameter.
	CustomData *oaut.CustomData `idl:"name:pCustData" json:"custom_data"`
	// Return: The GetAllParamCustData return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetAllParamCustomDataResponse structure represents the GetAllParamCustData operation response

func (*GetAllParamCustomDataResponse) MarshalNDR

func (*GetAllParamCustomDataResponse) UnmarshalNDR

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

type GetAllVarCustomDataRequest

type GetAllVarCustomDataRequest 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 specify an ordinal position in the data member table and MUST be less
	// than the value of the cVars field in the TYPEATTR structure of the associated type,
	// as specified in sections 2.2.44 and 3.7.4.1.
	Index uint32 `idl:"name:index" json:"index"`
}

GetAllVarCustomDataRequest structure represents the GetAllVarCustData operation request

func (*GetAllVarCustomDataRequest) MarshalNDR

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

func (*GetAllVarCustomDataRequest) UnmarshalNDR

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

type GetAllVarCustomDataResponse

type GetAllVarCustomDataResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pCustData: MUST be set to a CUSTDATA structure that contains an array of custom data
	// items, as specified in section 2.2.49.5. The structure's cCustData field MUST be
	// set to 0 and its prgCustData field set to NULL, if there are no custom data items
	// associated with the data member.
	CustomData *oaut.CustomData `idl:"name:pCustData" json:"custom_data"`
	// Return: The GetAllVarCustData return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetAllVarCustomDataResponse structure represents the GetAllVarCustData operation response

func (*GetAllVarCustomDataResponse) MarshalNDR

func (*GetAllVarCustomDataResponse) UnmarshalNDR

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

type GetCustomDataRequest

type GetCustomDataRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// guid: MUST be the GUID associated with the custom data item using the [custom] attribute,
	// as specified in section 2.2.49.2.
	//
	// guid: MUST be a GUID associated with the custom data item.
	GUID *dtyp.GUID `idl:"name:guid" json:"guid"`
}

GetCustomDataRequest structure represents the GetCustData operation request

func (*GetCustomDataRequest) MarshalNDR

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

func (*GetCustomDataRequest) UnmarshalNDR

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

type GetCustomDataResponse

type GetCustomDataResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pVarVal: MUST be set to the value of the custom data item, or VT_EMPTY if there is
	// no custom data item associated with the specified GUID.
	//
	// pVarVal: MUST be set to the value associated with the GUID using the [custom] attribute
	// (as specified in section 2.2.49.3), or VT_EMPTY if the type does not have a value
	// associated with the GUID.
	VarValue *oaut.Variant `idl:"name:pVarVal" json:"var_value"`
	// Return: The GetCustData return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetCustomDataResponse structure represents the GetCustData operation response

func (*GetCustomDataResponse) MarshalNDR

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

func (*GetCustomDataResponse) UnmarshalNDR

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

type GetDocumentation2Request

type GetDocumentation2Request 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 member of the type (as specified in section 2.2.35),
	// or MEMBERID_NIL.
	MemberID int32 `idl:"name:memid" json:"member_id"`
	// lcid: MUST be the locale ID of the specified type or type library.
	//
	// lcid: MUST be the Locale ID associated with the specified type member.
	LocaleID uint32 `idl:"name:lcid" json:"locale_id"`
	// refPtrFlags: MUST be 0, or a combination of the bit flags specified in the following
	// table.
	//
	//	+-----------------------------------+----------------------------------------------------------------------------------+
	//	|                                   |                                                                                  |
	//	|               VALUE               |                                     MEANING                                      |
	//	|                                   |                                                                                  |
	//	+-----------------------------------+----------------------------------------------------------------------------------+
	//	+-----------------------------------+----------------------------------------------------------------------------------+
	//	| TYPELIB_HelpStringArg 0x00000001  | MUST specify that the client is interested in the actual pBstrHelpString [out]   |
	//	|                                   | argument.                                                                        |
	//	+-----------------------------------+----------------------------------------------------------------------------------+
	//	| TYPELIB_HelpContextArg 0x00000002 | MUST specify that the client is interested in the actual pdwHelpStringContext    |
	//	|                                   | [out] argument.                                                                  |
	//	+-----------------------------------+----------------------------------------------------------------------------------+
	//	| TYPELIB_HelpFileArg 0x00000004    | MUST specify that the client is interested in the actual pBstrHelpStringDll      |
	//	|                                   | [out] argument.                                                                  |
	//	+-----------------------------------+----------------------------------------------------------------------------------+
	PointerFlags uint32 `idl:"name:refPtrFlags" json:"pointer_flags"`
}

GetDocumentation2Request structure represents the GetDocumentation2 operation request

func (*GetDocumentation2Request) MarshalNDR

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

func (*GetDocumentation2Request) UnmarshalNDR

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

type GetDocumentation2Response

type GetDocumentation2Response struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pbstrHelpString: MUST be set to an implementation-specific BSTR type<63> if the TYPELIB_HelpStringArg
	// bit flag is set in refPtrFlags. MUST be set to a NULL BSTR otherwise.
	//
	// pbstrHelpString: If the TYPEINFO_HelpStringContextArg and TYPEINFO_HelpStringDllArg
	// bit flags are set in refPtrFlags, pbstrHelpString MUST be set to an implementation-specific
	// BSTR<60> . Otherwise, MUST be set to a NULL BSTR.
	HelpString *oaut.String `idl:"name:pbstrHelpString" json:"help_string"`
	// pdwHelpStringContext: MUST be set to the value that was associated with the specified
	// type or type library using the [helpstringcontext] attribute (see section 2.2.49.2)
	// if the TYPELIB_HelpContextArg bit flag is set in refPtrFlags. MUST be set to 0 otherwise.
	//
	// pdwHelpStringContext: MUST be set to the value that was associated with the specified
	// type or type member using the [helpstringcontext] attribute (see IDL Automation Scope)
	// if the TYPEINFO_HelpStringContextArg bit flag is set in refPtrFlags. MUST be set
	// to 0 otherwise.
	HelpStringContext uint32 `idl:"name:pdwHelpStringContext" json:"help_string_context"`
	// pbstrHelpStringDll: MUST be set to the documentation string that was associated with
	// the specified type or type library using the [helpstringdll] 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.
	//
	// pbstrHelpStringDll: MUST be set to the documentation string that was associated with
	// the specified type or type member using the [helpstringdll] attribute (see IDL Automation
	// Scope) if the TYPEINFO_HelpStringDllArg bit flag is set in refPtrFlags. MUST be set
	// to a NULL BSTR otherwise.
	HelpStringDLL *oaut.String `idl:"name:pbstrHelpStringDll" json:"help_string_dll"`
	// Return: The GetDocumentation2 return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetDocumentation2Response structure represents the GetDocumentation2 operation response

func (*GetDocumentation2Response) MarshalNDR

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

func (*GetDocumentation2Response) UnmarshalNDR

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

type GetFuncCustomDataRequest

type GetFuncCustomDataRequest 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 specify an ordinal position in the method table and MUST be less than
	// the value of the cFuncs field in the TYPEATTR structure of the associated type, as
	// specified in sections 2.2.44 and 3.7.4.1.
	Index uint32 `idl:"name:index" json:"index"`
	// guid: MUST be the GUID associated with the custom data item using the [custom] attribute,
	// as specified in section 2.2.49.5.1.
	GUID *dtyp.GUID `idl:"name:guid" json:"guid"`
}

GetFuncCustomDataRequest structure represents the GetFuncCustData operation request

func (*GetFuncCustomDataRequest) MarshalNDR

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

func (*GetFuncCustomDataRequest) UnmarshalNDR

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

type GetFuncCustomDataResponse

type GetFuncCustomDataResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pVarVal: MUST be set to the value of the custom data item, or VT_EMPTY if index and
	// guid do not specify a custom data item.
	VarValue *oaut.Variant `idl:"name:pVarVal" json:"var_value"`
	// Return: The GetFuncCustData return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetFuncCustomDataResponse structure represents the GetFuncCustData operation response

func (*GetFuncCustomDataResponse) MarshalNDR

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

func (*GetFuncCustomDataResponse) UnmarshalNDR

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

type GetFuncIndexOfMemberIDsRequest

type GetFuncIndexOfMemberIDsRequest 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, as specified in section 2.2.35.
	MemberID int32 `idl:"name:memid" json:"member_id"`
	// invKind: MUST be set to one of the values of the INVOKEKIND enumeration (as specified
	// in section 2.2.14) or to 0.
	InvKind oaut.InvokeKind `idl:"name:invKind" json:"inv_kind"`
}

GetFuncIndexOfMemberIDsRequest structure represents the GetFuncIndexOfMemId operation request

func (*GetFuncIndexOfMemberIDsRequest) MarshalNDR

func (*GetFuncIndexOfMemberIDsRequest) UnmarshalNDR

type GetFuncIndexOfMemberIDsResponse

type GetFuncIndexOfMemberIDsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pFuncIndex: MUST be set to the ordinal position in the method table of the element
	// specified by the values of memid and invKind as described below, or to –1 if no
	// such element exists.
	//
	// If invKind is not 0, the specified element is the one whose MEMBERID matches the
	// value of memid, and whose associated INVOKEKIND constant (see FUNCDESC) matches the
	// value of invKind.
	FuncIndex uint32 `idl:"name:pFuncIndex" json:"func_index"`
	// Return: The GetFuncIndexOfMemId return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetFuncIndexOfMemberIDsResponse structure represents the GetFuncIndexOfMemId operation response

func (*GetFuncIndexOfMemberIDsResponse) MarshalNDR

func (*GetFuncIndexOfMemberIDsResponse) UnmarshalNDR

type GetImplTypeCustomDataRequest

type GetImplTypeCustomDataRequest 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 specify an ordinal position in the interface table and MUST be less than
	// the value of the cImplTypes field in the TYPEATTR structure of the associated type,
	// as specified in sections 2.2.44 and 3.7.4.1.
	Index uint32 `idl:"name:index" json:"index"`
	// guid: MUST be the GUID associated with the custom data item using the [custom] attribute,
	// as specified in section 2.2.49.8.
	GUID *dtyp.GUID `idl:"name:guid" json:"guid"`
}

GetImplTypeCustomDataRequest structure represents the GetImplTypeCustData operation request

func (*GetImplTypeCustomDataRequest) MarshalNDR

func (*GetImplTypeCustomDataRequest) UnmarshalNDR

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

type GetImplTypeCustomDataResponse

type GetImplTypeCustomDataResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pVarVal: MUST be set to the value of the custom data item, or to VT_EMPTY if the
	// type does not have a value associated with the GUID.
	VarValue *oaut.Variant `idl:"name:pVarVal" json:"var_value"`
	// Return: The GetImplTypeCustData return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetImplTypeCustomDataResponse structure represents the GetImplTypeCustData operation response

func (*GetImplTypeCustomDataResponse) MarshalNDR

func (*GetImplTypeCustomDataResponse) UnmarshalNDR

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

type GetParamCustomDataRequest

type GetParamCustomDataRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// indexFunc: MUST specify an ordinal position in the method table and MUST be less
	// than the value of the cFuncs field in the TYPEATTR structure of the associated type,
	// as specified in sections 2.2.44 and 3.7.4.1.
	IndexFunc uint32 `idl:"name:indexFunc" json:"index_func"`
	// indexParam: MUST specify an ordinal position in the parameter table of the method
	// specified by indexFunc. The value of indexParam MUST be less than the value of the
	// cParams field in the FUNCDESC structure of the associated method, as specified in
	// sections 2.2.42 and 3.7.4.3.
	IndexParam uint32 `idl:"name:indexParam" json:"index_param"`
	// guid: MUST be the GUID associated with the custom data item using the [custom] attribute,
	// as specified in section 2.2.49.6.
	GUID *dtyp.GUID `idl:"name:guid" json:"guid"`
}

GetParamCustomDataRequest structure represents the GetParamCustData operation request

func (*GetParamCustomDataRequest) MarshalNDR

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

func (*GetParamCustomDataRequest) UnmarshalNDR

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

type GetParamCustomDataResponse

type GetParamCustomDataResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pVarVal: MUST be set to the value of the custom data item, or to VT_EMPTY if the
	// parameter does not have an associated custom data item.
	VarValue *oaut.Variant `idl:"name:pVarVal" json:"var_value"`
	// Return: The GetParamCustData return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetParamCustomDataResponse structure represents the GetParamCustData operation response

func (*GetParamCustomDataResponse) MarshalNDR

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

func (*GetParamCustomDataResponse) UnmarshalNDR

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

type GetTypeFlagsRequest

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

GetTypeFlagsRequest structure represents the GetTypeFlags operation request

func (*GetTypeFlagsRequest) MarshalNDR

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

func (*GetTypeFlagsRequest) UnmarshalNDR

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

type GetTypeFlagsResponse

type GetTypeFlagsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pTypeFlags: MUST be set either to a combination of the TYPEFLAGS type feature constants
	// specified in section 2.2.16, or to 0.
	TypeFlags uint32 `idl:"name:pTypeFlags" json:"type_flags"`
	// Return: The GetTypeFlags return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetTypeFlagsResponse structure represents the GetTypeFlags operation response

func (*GetTypeFlagsResponse) MarshalNDR

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

func (*GetTypeFlagsResponse) UnmarshalNDR

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

type GetTypeKindRequest

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

GetTypeKindRequest structure represents the GetTypeKind operation request

func (*GetTypeKindRequest) MarshalNDR

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

func (*GetTypeKindRequest) UnmarshalNDR

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

type GetTypeKindResponse

type GetTypeKindResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pTypeKind: MUST be set to the TYPEKIND value associated with the automation type
	// description, as specified in section 2.2.17.
	TypeKind oaut.TypeKind `idl:"name:pTypeKind" json:"type_kind"`
	// Return: The GetTypeKind return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetTypeKindResponse structure represents the GetTypeKind operation response

func (*GetTypeKindResponse) MarshalNDR

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

func (*GetTypeKindResponse) UnmarshalNDR

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

type GetVarCustomDataRequest

type GetVarCustomDataRequest 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 specify an ordinal position in the data member table and MUST be less
	// than the value of the cVars field in the TYPEATTR structure of the associated type,
	// as specified in sections 2.2.44 and 3.7.4.1.
	Index uint32 `idl:"name:index" json:"index"`
	// guid: MUST be the GUID associated with the custom data item using the [custom] attribute,
	// as specified in section 2.2.49.5.
	GUID *dtyp.GUID `idl:"name:guid" json:"guid"`
}

GetVarCustomDataRequest structure represents the GetVarCustData operation request

func (*GetVarCustomDataRequest) MarshalNDR

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

func (*GetVarCustomDataRequest) UnmarshalNDR

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

type GetVarCustomDataResponse

type GetVarCustomDataResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pVarVal: MUST be set to the value of the custom data item, or to VT_EMPTY if the
	// type does not have a value associated with the GUID.
	VarValue *oaut.Variant `idl:"name:pVarVal" json:"var_value"`
	// Return: The GetVarCustData return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetVarCustomDataResponse structure represents the GetVarCustData operation response

func (*GetVarCustomDataResponse) MarshalNDR

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

func (*GetVarCustomDataResponse) UnmarshalNDR

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

type GetVarIndexOfMemberIDsRequest

type GetVarIndexOfMemberIDsRequest 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, as specified in section 2.2.35. MUST NOT be MEMBERID_NIL.
	MemberID int32 `idl:"name:memid" json:"member_id"`
}

GetVarIndexOfMemberIDsRequest structure represents the GetVarIndexOfMemId operation request

func (*GetVarIndexOfMemberIDsRequest) MarshalNDR

func (*GetVarIndexOfMemberIDsRequest) UnmarshalNDR

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

type GetVarIndexOfMemberIDsResponse

type GetVarIndexOfMemberIDsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pVarIndex: MUST be set to the ordinal position in the data member table of the element
	// whose MEMBERID is specified by memid, if such an element exists. If the method returns
	// a failure code, the value MUST be ignored on receipt.
	VarIndex uint32 `idl:"name:pVarIndex" json:"var_index"`
	// Return: The GetVarIndexOfMemId return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetVarIndexOfMemberIDsResponse structure represents the GetVarIndexOfMemId operation response

func (*GetVarIndexOfMemberIDsResponse) MarshalNDR

func (*GetVarIndexOfMemberIDsResponse) UnmarshalNDR

type TypeInfo2Client

type TypeInfo2Client interface {

	// ITypeInfo retrieval method.
	TypeInfo() itypeinfo.TypeInfoClient

	// The GetTypeKind method returns the TYPEKIND value associated with the automation
	// type description.
	//
	// 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.
	GetTypeKind(context.Context, *GetTypeKindRequest, ...dcerpc.CallOption) (*GetTypeKindResponse, error)

	// The GetTypeFlags method returns the TYPEFLAGS value associated with the automation
	// type description.
	//
	// 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.
	GetTypeFlags(context.Context, *GetTypeFlagsRequest, ...dcerpc.CallOption) (*GetTypeFlagsResponse, error)

	// The GetFuncIndexOfMemId method retrieves the location of an element in the data member
	// table, given its associated 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 values of memid and invKind did not specify a member of the type. See [MS-ERREF].
	GetFuncIndexOfMemberIDs(context.Context, *GetFuncIndexOfMemberIDsRequest, ...dcerpc.CallOption) (*GetFuncIndexOfMemberIDsResponse, error)

	// The GetVarIndexOfMemId method retrieves the location of an element in the data member
	// table by using the associated MEMBERID of the element.
	//
	// The method is received by the server in an RPC_REQUEST packet.
	//
	// Return Values: The method MUST return information in an HRESULT data structure that
	// is 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 a member of the type. See [MS-ERREF].
	GetVarIndexOfMemberIDs(context.Context, *GetVarIndexOfMemberIDsRequest, ...dcerpc.CallOption) (*GetVarIndexOfMemberIDsResponse, error)

	// The GetCustData method retrieves the value of a custom data item associated with
	// the automation type library.
	//
	// The GetCustData method retrieves the value of a custom data item associated with
	// the type.
	//
	// 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.
	GetCustomData(context.Context, *GetCustomDataRequest, ...dcerpc.CallOption) (*GetCustomDataResponse, error)

	// The GetFuncCustData method retrieves the value of a custom data item associated with
	// the specified method.
	//
	// 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. See [MS-ERREF].
	GetFuncCustomData(context.Context, *GetFuncCustomDataRequest, ...dcerpc.CallOption) (*GetFuncCustomDataResponse, error)

	// The GetParamCustData method retrieves the value of a custom data item associated
	// with the specified method parameter.
	//
	// 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 indexFunc did not specify the ordinal position of an element in the
	// interface table, or the value of indexParam did not specify the ordinal position
	// of an element in the method's parameter table. See [MS-ERREF].
	GetParamCustomData(context.Context, *GetParamCustomDataRequest, ...dcerpc.CallOption) (*GetParamCustomDataResponse, error)

	// The GetVarCustData method retrieves the value of a custom data item associated with
	// the specified data member.
	//
	// 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 data
	// member table. See [MS-ERREF].
	GetVarCustomData(context.Context, *GetVarCustomDataRequest, ...dcerpc.CallOption) (*GetVarCustomDataResponse, error)

	// The GetImplTypeCustData method retrieves the value of a custom data item associated
	// with the specified 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, or the type is not a coclass. See [MS-ERREF].
	GetImplTypeCustomData(context.Context, *GetImplTypeCustomDataRequest, ...dcerpc.CallOption) (*GetImplTypeCustomDataResponse, error)

	// The GetDocumentation2 method retrieves values associated with the automation type
	// library.
	//
	// The GetDocumentation2 method retrieves values associated with a type member.
	//
	// 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.
	GetDocumentation2(context.Context, *GetDocumentation2Request, ...dcerpc.CallOption) (*GetDocumentation2Response, error)

	// The GetAllCustData method retrieves the values of all custom data items associated
	// with the automation type library.
	//
	// The GetAllCustData method retrieves all the custom data items associated with the
	// automation type description.
	//
	// 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.
	GetAllCustomData(context.Context, *GetAllCustomDataRequest, ...dcerpc.CallOption) (*GetAllCustomDataResponse, error)

	// The GetAllFuncCustData method retrieves all of the custom data items associated with
	// the specified method.
	//
	// 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 data
	// member table. See [MS-ERREF].
	GetAllFuncCustomData(context.Context, *GetAllFuncCustomDataRequest, ...dcerpc.CallOption) (*GetAllFuncCustomDataResponse, error)

	// The GetAllParamCustData method retrieves all of the custom data items associated
	// with the specified parameter.
	//
	// 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 indexFunc did not specify the ordinal position of an element in the
	// method table, or the value of indexParam did not specify the ordinal position of
	// an element in the parameter table.
	GetAllParamCustomData(context.Context, *GetAllParamCustomDataRequest, ...dcerpc.CallOption) (*GetAllParamCustomDataResponse, error)

	// The GetAllVarCustData method retrieves all of the custom data items associated with
	// the specified data member.
	//
	// 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 data
	// member table. See [MS-ERREF].
	GetAllVarCustomData(context.Context, *GetAllVarCustomDataRequest, ...dcerpc.CallOption) (*GetAllVarCustomDataResponse, error)

	// The GetAllImplTypeCustData method retrieves all of the custom data items associated
	// with the specified data member.
	//
	// 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 type is not a coclass ( 5583e1b8-454c-4147-9f56-f72416a15bee#gt_670b0ee2-d101-41b0-ac77-6ac7dbeee7dc
	// ). See [MS-ERREF].
	GetAllImplTypeCustomData(context.Context, *GetAllImplTypeCustomDataRequest, ...dcerpc.CallOption) (*GetAllImplTypeCustomDataResponse, error)

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

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

ITypeInfo2 interface.

func NewTypeInfo2Client

func NewTypeInfo2Client(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (TypeInfo2Client, error)

type TypeInfo2Server

type TypeInfo2Server interface {

	// ITypeInfo base class.
	itypeinfo.TypeInfoServer

	// The GetTypeKind method returns the TYPEKIND value associated with the automation
	// type description.
	//
	// 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.
	GetTypeKind(context.Context, *GetTypeKindRequest) (*GetTypeKindResponse, error)

	// The GetTypeFlags method returns the TYPEFLAGS value associated with the automation
	// type description.
	//
	// 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.
	GetTypeFlags(context.Context, *GetTypeFlagsRequest) (*GetTypeFlagsResponse, error)

	// The GetFuncIndexOfMemId method retrieves the location of an element in the data member
	// table, given its associated 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 values of memid and invKind did not specify a member of the type. See [MS-ERREF].
	GetFuncIndexOfMemberIDs(context.Context, *GetFuncIndexOfMemberIDsRequest) (*GetFuncIndexOfMemberIDsResponse, error)

	// The GetVarIndexOfMemId method retrieves the location of an element in the data member
	// table by using the associated MEMBERID of the element.
	//
	// The method is received by the server in an RPC_REQUEST packet.
	//
	// Return Values: The method MUST return information in an HRESULT data structure that
	// is 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 a member of the type. See [MS-ERREF].
	GetVarIndexOfMemberIDs(context.Context, *GetVarIndexOfMemberIDsRequest) (*GetVarIndexOfMemberIDsResponse, error)

	// The GetCustData method retrieves the value of a custom data item associated with
	// the automation type library.
	//
	// The GetCustData method retrieves the value of a custom data item associated with
	// the type.
	//
	// 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.
	GetCustomData(context.Context, *GetCustomDataRequest) (*GetCustomDataResponse, error)

	// The GetFuncCustData method retrieves the value of a custom data item associated with
	// the specified method.
	//
	// 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. See [MS-ERREF].
	GetFuncCustomData(context.Context, *GetFuncCustomDataRequest) (*GetFuncCustomDataResponse, error)

	// The GetParamCustData method retrieves the value of a custom data item associated
	// with the specified method parameter.
	//
	// 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 indexFunc did not specify the ordinal position of an element in the
	// interface table, or the value of indexParam did not specify the ordinal position
	// of an element in the method's parameter table. See [MS-ERREF].
	GetParamCustomData(context.Context, *GetParamCustomDataRequest) (*GetParamCustomDataResponse, error)

	// The GetVarCustData method retrieves the value of a custom data item associated with
	// the specified data member.
	//
	// 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 data
	// member table. See [MS-ERREF].
	GetVarCustomData(context.Context, *GetVarCustomDataRequest) (*GetVarCustomDataResponse, error)

	// The GetImplTypeCustData method retrieves the value of a custom data item associated
	// with the specified 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, or the type is not a coclass. See [MS-ERREF].
	GetImplTypeCustomData(context.Context, *GetImplTypeCustomDataRequest) (*GetImplTypeCustomDataResponse, error)

	// The GetDocumentation2 method retrieves values associated with the automation type
	// library.
	//
	// The GetDocumentation2 method retrieves values associated with a type member.
	//
	// 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.
	GetDocumentation2(context.Context, *GetDocumentation2Request) (*GetDocumentation2Response, error)

	// The GetAllCustData method retrieves the values of all custom data items associated
	// with the automation type library.
	//
	// The GetAllCustData method retrieves all the custom data items associated with the
	// automation type description.
	//
	// 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.
	GetAllCustomData(context.Context, *GetAllCustomDataRequest) (*GetAllCustomDataResponse, error)

	// The GetAllFuncCustData method retrieves all of the custom data items associated with
	// the specified method.
	//
	// 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 data
	// member table. See [MS-ERREF].
	GetAllFuncCustomData(context.Context, *GetAllFuncCustomDataRequest) (*GetAllFuncCustomDataResponse, error)

	// The GetAllParamCustData method retrieves all of the custom data items associated
	// with the specified parameter.
	//
	// 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 indexFunc did not specify the ordinal position of an element in the
	// method table, or the value of indexParam did not specify the ordinal position of
	// an element in the parameter table.
	GetAllParamCustomData(context.Context, *GetAllParamCustomDataRequest) (*GetAllParamCustomDataResponse, error)

	// The GetAllVarCustData method retrieves all of the custom data items associated with
	// the specified data member.
	//
	// 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 data
	// member table. See [MS-ERREF].
	GetAllVarCustomData(context.Context, *GetAllVarCustomDataRequest) (*GetAllVarCustomDataResponse, error)

	// The GetAllImplTypeCustData method retrieves all of the custom data items associated
	// with the specified data member.
	//
	// 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 type is not a coclass ( 5583e1b8-454c-4147-9f56-f72416a15bee#gt_670b0ee2-d101-41b0-ac77-6ac7dbeee7dc
	// ). See [MS-ERREF].
	GetAllImplTypeCustomData(context.Context, *GetAllImplTypeCustomDataRequest) (*GetAllImplTypeCustomDataResponse, error)
}

ITypeInfo2 server interface.

Jump to

Keyboard shortcuts

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