Compartilhar via


ISymUnmanagedENCUpdate::GetLocalVariables Method

Gets the local variables.

HRESULT GetLocalVariables(
    [in]  mdMethodDef  mdMethodToken,
    [in]  ULONG        cLocals,
    [out, size_is(cLocals), length_is(*pceltFetched)]
        ISymUnmanagedVariable *rgLocals[],
    [out] ULONG        *pceltFetched);

Parameters

  • mdMethodToken
    [in] The metadata token of the method.

  • cLocals
    [in] A ULONG that indicates the size of the rgLocals parameter.

  • rgLocals
    [out] The returned array of ISymUnmanagedVariable instances.

  • pceltFetched
    [out] A pointer to a ULONG that receives the size of the rgLocals buffer required to contain the locals.

Return Value

S_OK if the method succeeds; otherwise, E_FAIL or some other error code.

Requirements

Header: CorSym.idl

See Also

Concepts

ISymUnmanagedENCUpdate Interface