Share via


IDebugBinder3::FindAlias

This method locates an alias, given a name. This will search all aliases in the program.

HRESULT FindAlias(
   LPCOLESTR     pcstrName,
   IDebugAlias** ppAlias
);
int FindAlias(
   string          pcstrName,
   out IDebugAlias ppAlias
);

Parameters

  • pcstrName
    [in] Name of alias to find.

  • ppAlias
    [out] Alias found (if any) represented by the IDebugAlias interface.

Return Value

If successful, returns S_OK; otherwise, returns S_FALSE (if alias is not found) or an error code.

Remarks

This method initializes the destination object to null before calling; then it tests for a null value afterward to determine whether or not the alias was found.

See Also

Reference

IDebugBinder3

IDebugAlias