IPersistPropertyBag::InitNew (Windows CE 5.0)

Send Feedback

This method informs the object that it is being initialized as a newly created object.

HRESULT InitNew(void);

Parameters

None.

Return Values

The following table shows the return values.

Value Description
S_OK The object successfully initialized itself.
E_UNEXPECTED This member was called after IPersistPropertyBag::Load or IPersistPropertyBag::Save.

Remarks

The implementation of this method should return S_OK even if the object does not perform any actions in this method. It should not return E_NOTIMPL.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ocidl.h, Ocidl.idl.
Link Library: Ole32.lib, Uuid.lib.

See Also

IPersistPropertyBag | IPropertyBag | IPersistPropertyBag::Load | IPersistPropertyBag::Save

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.