Edit

Share via


IDebugSymbolProviderDirect::GetMethodFromAddress

Retrieves information about the method at the specified debug address.

Syntax

int GetMethodFromAddress(
   IDebugAddress pAddress,
   out Guid      pGuid,
   out uint      pAppID,
   out uint      pTokenClass,
   out uint      pTokenMethod,
   out uint      pdwOffset,
   out uint      pdwVersion
);

Parameters

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

pGuid
[out] Unique identifier of the module.

pAppID
[out] Identifier of the application domain.

pTokenClass
[out] Token that represents the containing class.

pTokenMethod
[out] Token that represents the module.

pdwOffset
[out] An offset in bytes from the start of the pAddress parameter.

pdwVersion
[out] Version number of the method.

Return Value

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

See also