IDebugComPlusSymbolProvider::LoadSymbolsFromStream
Loads debug symbols given the data stream.
HRESULT LoadSymbolsFromStream(
ULONG32 ulAppDomainID,
GUID guidModule,
ULONGLONG baseAddress,
IUnknown* pUnkMetadataImport,
IStream* pStream
);
int LoadSymbolsFromStream(
uint ulAppDomainID,
Guid guidModule,
ulong baseAddress,
object pUnkMetadataImport,
IStream pStream
);
Parameters
ulAppDomainID
[in] Identifier of the application domain.guidModule
[in] Unique identifier of the module.baseAddress
[in] Base memory address.pUnkMetadataImport
[in] Object that contains the symbol metadata.pStream
[in] Data stream that contains the symbols.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Example
The following example shows how to implement this method for a CDebugSymbolProvider object that exposes the IDebugComPlusSymbolProvider interface. The method calls the IDebugComPlusSymbolProvider2::LoadSymbolsFromStreamWithCorModule method.
HRESULT CDebugSymbolProvider::LoadSymbolsFromStream(
ULONG32 ulAppDomainID,
GUID guidModule,
ULONGLONG baseOffset,
IUnknown* pUnkMetadataImport,
IStream* pStream
)
{
return LoadSymbolsFromStreamWithCorModule (ulAppDomainID, guidModule, baseOffset, pUnkMetadataImport, NULL, pStream);
}