Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.