Share via


ISymUnmanagedReader::GetNamespaces Method

Gets the namespaces defined at global scope within this symbol store.

HRESULT GetNamespaces (
    [in]  ULONG32  cNameSpaces,
    [out] ULONG32  *pcNameSpaces,
    [out, size_is (cNameSpaces),
        length_is (*pcNameSpaces)]
        ISymUnmanagedNamespace*  namespaces[]);

Parameters

  • cNameSpaces
    [in] The size of the namespaces array.
  • pcNameSpaces
    [out] A pointer to a variable that receives the length of the namespace list.
  • namespaces
    [out] A pointer to a variable that receives the namespace list.

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