Jaa


IPersistStreamInit::GetClassID Method

This method should return the class identifier (CLSID) of the object.

HRESULT GetClassID(
  CLSID* pClassID
);

Parameters

  • pClassID
    [out] The address of a CLSID variable used to return the class identifier of the object.

Returns

This method must return the HRESULT value S_OK to indicate success, and should generally return one of the standard COM error values to indicate failure.

Remarks

The GetClassID method is a method of the IPersist interface from which the IPersistStreamInit interface inherits.

See Also

Other Resources

IPersistStreamInit Interface