다음을 통해 공유


IPersistStreamInit::InitNew Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

This method provides an opportunity for the object to initialize its state before any persisted values are loaded. You should initialize the IsDirty flag of the object within this method.

HRESULT InitNew(void);

Parameters

  • None*.*

Return Value

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.

See Also

Other Resources

IPersistStreamInit Interface