Share via


ISymUnmanagedReader::GetGlobalVariables Method

Returns all global variables.

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

Parameters

  • cVars
    [in] The length of the buffer pointed to by pcVars.
  • pcVars
    [out] A pointer to a ULONG32 that receives the size of the buffer required to contain the variables.
  • pVars
    [out] A buffer that contains 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