共用方式為


IDiaLoadCallback::NotifyOpenPDB

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Called when a candidate .pdb file is opened.

Syntax

HRESULT NotifyOpenPDB (   
   LPCOLESTR pdbPath,  
   HRESULT   resultCode  
);  

Parameters

pdbPath
[in] The full path of the .pdb file.

resultCode
[in] Code that indicates the success (S_OK) or failure of the load as applied to this file.

Return Value

If successful, returns S_OK; otherwise, returns an error code. The return code is typically ignored.

See Also

IDiaLoadCallback2