Microsoft SDK for Java

InitNew

This method of the IPersistStreamInit interface initializes the object to a default state.

Syntax

public void InitNew();

Return Values

This method supports the standard return values E_OUTOFMEMORY and E_UNEXPECTED, as well as the following:

S_OK -- The object successfully initialized itself.

E_NOTIMPL -- The object requires no default initialization. This error code is allowed because an object may choose to implement IPersistStreamInit simply for orthogonality or in anticipation of a future need for this method.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.