ISymUnmanagedWriter::DefineParameter Method
Defines a single parameter in the current method. The parameter type is taken from the parameter's position (sequence) within the method's signature.
If parameters are defined in the metadata for a given method, you do not have to define them again by using this method. The symbol readers must check the normal metadata for the parameters before checking the symbol store.
Syntax
HRESULT DefineParameter(
[in] const WCHAR *name,
[in] ULONG32 attributes,
[in] ULONG32 sequence,
[in] ULONG32 addrKind,
[in] ULONG32 addr1,
[in] ULONG32 addr2,
[in] ULONG32 addr3);
Parameters
name
[in] The parameter name.
attributes
[in] The parameter attributes.
sequence
[in] The parameter signature.
addrKind
[in] The address type.
addr1
[in] The first address for the parameter specification.
addr2
[in] The second address for the parameter specification.
addr3
[in] The third address for the parameter specification.
Return Value
S_OK if the method succeeds; otherwise, E_FAIL or some other error code.
Requirements
Header: CorSym.idl, CorSym.h