Share via


IDebugMemoryContext2::GetName

Retrieves the user-displayable name for this context.

HRESULT GetName( 
   BSTR* pbstrName
);
int GetName(
   out string pbstrName
);

Parameters

  • pbstrName
    [out] Returns the name of the memory context.

Return Value

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

Remarks

The name of a memory context is not normally used.

See Also

Reference

IDebugMemoryContext2