Contents Previous Page Next Page
IPersistPropertyBag::InitNew

Informs the object that it is being initialized as a newly created object.

HRESULT InitNew(void);

Return Values

S_OK

The object successfully initialized itself. This should be returned even if the object doesnÆt do anything in the method.

E_UNEXPECTED

This method was called after IPersistPropertyBag::Load or IPersistPropertyBag::Save.

Remarks

E_NOTIMPL should not be returned20000000.gifuse S_OK when the object has nothing to do in the method.

See Also

IPersistPropertyBag::Load