Freigeben über


ISymUnmanagedNamespace::GetVariables Method

Returns all variables defined at global scope within this namespace.

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

Parameters

  • cVars
    [in] A ULONG32 that indicates the size of the pVars array.
  • pcVars
    [out] A pointer to a ULONG32 that receives the size of the buffer required to contain the namespaces.
  • pVars
    [out] A pointer to a buffer that contains the namespaces.

Return Value

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

Requirements

Header: CorSym.idl

See Also

Reference

ISymUnmanagedNamespace Interface