PyIPersistStorage.InitNew

InitNew(PyIStorage)

Initializes a new object, providing a storage object to be used for the object.

Parameters

PyIStorage : PyIStorage

PyIStorage for the new storage object to be initialized. The container creates a nested storage object in its storage object (see PyIStorage::CreateStorage). Then, the container calls the PyIPersistStorage::WriteClassStg function to initialize the new storage object with the object class identifier (CLSID).