次の方法で共有


IDebugSymbolProviderDirect::GetAppIDFromAddress

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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

Retrieves the application domain identifier given the debug address.

Syntax

HRESULT GetAppIDFromAddress(
   IDebugAddress* pAddress,
   DWORD*         pAppID
);
int GetAppIDFromAddress(
   IDebugAddress pAddress,
   out uint      pAppID
);

Parameters

pAddress
[in] Debug address that is represented by the IDebugAddress interface.

pAppID
[out] Identifier of the application domain.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See also