ISymUnmanagedBinder::GetReaderFromStream Method

Given a metadata interface and a stream that contains the symbol store, returns the correct ISymUnmanagedReader structure that will read the debugging symbols from the given symbol store.

Syntax

HRESULT GetReaderFromStream(  
    [in]  IUnknown  *importer,  
    [in]  IStream   *pstream,  
    [out,retval] ISymUnmanagedReader **pRetVal);  

Parameters

importer
[in] A pointer to the metadata import interface.

pstream
[in] A pointer to the stream that contains the symbol store.

pRetVal
[out] A pointer that is set to the returned ISymUnmanagedReader interface.

Return Value

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

Requirements

Header: CorSym.idl, CorSym.h

See also