Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Replaces the current debug symbols with those in the specified data stream.
Syntax
Parameters
ulAppDomainID
[in] Identifier of the application domain.
guidModule
[in] Unique identifier of the module.
pStream
[in] Data stream that contains the new 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.
HRESULT CDebugSymbolProvider::ReplaceSymbols(
ULONG32 ulAppDomainID,
GUID guidModule,
IStream* pStream
)
{
HRESULT hr = S_OK;
CComPtr<CModule> pModule;
Module_ID idModule(ulAppDomainID, guidModule);
METHOD_ENTRY( CDebugSymbolProvider::ReplaceSymbols );
IfFailGo( GetModule( idModule, &pModule ) );
IfFailGo( pModule->ReplaceSymbols( pStream ) );
Error:
METHOD_EXIT( CDebugSymbolProvider::ReplaceSymbols, hr );
return hr;
}