GetID method

Retrieves the Accelerator ID.

 

Syntax

HRESULT retVal = object.GetID(pbstrID);

Parameters

  • pbstrID [out]
    Type: BSTR

    The retrieved ID.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The string referenced by the pbstrID parameter must be freed by a call to the SysFreeString function.

See also

IOpenServiceManager::GetServiceByID