IEntity::Name Method

Retrieves the name of this entity.

Syntax

HRESULT Name(      
    LPWSTR *ppszName
);

Parameters

  • ppszName
    [out, retval]  Receives a pointer to the name of this entity as a Unicode string. The calling application must free the returned string by calling CoTaskMemFree.

Return Value

Returns S_OK if successful, or an error value otherwise.