This method of the IStorage interface assigns the specified CLSID to this storage object.
public void SetClass(_Guid clsid);
S_OK -- The CLSID was successfully assigned.
E_PENDING -- Asynchronous storage only: Part or all the storage's data is currently unavailable.
STG_E_ACCESSDENIED -- The caller does not have sufficient permissions for assigning a class identifier to the storage object.
STG_E_MEDIUMFULL -- Not enough space was left on device to complete the operation.
STG_E_REVERTED -- The storage object has been invalidated by a revert operation above it in the transaction tree.
clsid | [in] The class identifier (CLSID) that is to be associated with the storage object. |