Compartilhar via


IPersistMoniker::GetClassID method

Gets the class identifier of an object.

Syntax

HRESULT GetClassID(
  [out] CLSID *pClassID
);

Parameters

  • pClassID [out]
    The address of a variable that receives the CLSID.

Return value

Returns S_OK if successful, or E_FAIL if the CLSID cannot be retrieved.

See also

IPersistMoniker