GetDisplayName method
Retrieves the display name of the Accelerator.
Syntax
HRESULT retVal = object.GetDisplayName(pbstrDisplayName);
Parameters
pbstrDisplayName [out]
Type: BSTRThe retrieved display name.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.