IsDefault method
Determines whether the Accelerator is the default for its category.
Syntax
HRESULT retVal = object.IsDefault(pfIsDefault);
Parameters
pfIsDefault [out]
Type: BOOLTRUE if the Accelerator is the default for its category; otherwise, FALSE.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.