ISymUnmanagedBinder3::GetReaderFromCallback Method

Allows the user to implement or supply via callback either an IID_IDiaReadExeAtRVACallback or IID_IDiaReadExeAtOffsetCallback to obtain the Debug directory information from memory.

HRESULT GetReaderFromCallback(
    [in]  IUnknown     *importer,
    [in]  const WCHAR  *fileName,
    [in]  const WCHAR  *searchPath,
    [in]  ULONG32      searchPolicy,
    [in]  IUnknown     *callback,
    [out,retval] ISymUnmanagedReader  **pRetVal);

Parameters

  • importer
    [in] A pointer to the metadata import interface.
  • fileName
    [in] A pointer to the file name.
  • searchPath
    [in] A pointer to the search path.
  • callback
    [in] A pointer to the callback function.

Return Value

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

Requirements

Header: CorSym.idl

See Also

Reference

ISymUnmanagedBinder3 Interface