Share via


GetName method

Retrieves the category name.

 

Syntax

HRESULT retVal = object.GetName(pbstrName);

Parameters

  • pbstrName [out]
    Type: BSTR

    The retrieved category name.

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 pbstrName parameter must be freed by a call to the SysFreeString function.