共用方式為


IDiaLoadCallback::NotifyOpenDBG

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 .dbg file has been opened.

Syntax

HRESULT NotifyOpenDBG (   
   LPCOLESTR dbgPath,  
   HRESULT   resultCode  
);  

Parameters

dbgPath
[in] The full path of the .dbg 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