次の方法で共有


IDebugObject2::CreateAlias

Creates a unique ID or alias for this object or returns an existing alias.

HRESULT CreateAlias(
   IDebugAlias** ppAlias
);
int CreateAlias(
   out IDebugAlias ppAlias
);

Parameters

  • ppAlias
    [out] The new (or existing) alias.

Return Value

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

Remarks

An alias is a label that represents a particular object while the object is in memory.

See Also

Reference

IDebugObject2

IDebugAlias