次の方法で共有


IDebugFunctionPosition2::GetFunctionName

Gets the name of the function to which this position points.

HRESULT GetFunctionName( 
   BSTR* pbstrFunctionName
);
int GetFunctionName(
   out string pbstrFunctionName
);

Parameters

  • pbstrFunctionName
    [out] Returns the name of the function.

Return Value

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

See Also

Reference

IDebugFunctionPosition2