IScriptEntry::SetSignature

Sets type information for an IScriptEntry function object.

Syntax

HRESULT SetSignature(  
   ITypeInfo          *pti  
   ULONG              iMethod  
);  

Parameters

pti
[in] The type information.

iMethod
[in] The method index in the ITypeInfo object.

Return Value

An HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

You set type information by using IScriptEntry::SetSignature or IScriptNode::CreateChildHandler. Type information can also be generated by the entry based on the internal function representation.

See also

IScriptEntry Interface