Share via


ISymUnmanagedReader::GetVariables Method

Returns a non-local variable, given its parent and name.

HRESULT GetVariables (
    [in]  mdToken  parent,
    [in]  ULONG32  cVars,
    [out] ULONG32  *pcVars,
    [out, size_is (cVars),
        length_is (*pcVars)] ISymUnmanagedVariable *pVars[]);

Parameters

  • parent
    [in] The parent of the variable.
  • cVars
    [in] The size of the pVars array.
  • pcVars
    [out] A pointer to the variable that receives the number of variables returned in pVars.
  • pVars
    [out] A pointer to the variable that receives the variables.

Return Value

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

Requirements

Header: CorSym.idl

See Also

Reference

ISymUnmanagedReader Interface