SaveAllChanges Method

ICreateTypeLib::SaveAllChanges method

Saves the ICreateTypeLib instance following the layout of type information.

Syntax


HRESULT SaveAllChanges();

Parameters

This method has no parameters.

Return value

This method can return one of these values.

Return codeDescription
S_OK

Success.

E_INVALIDARG

One or more of the arguments is not valid.

E_OUTOFMEMORY

Insufficient memory to complete the operation.

STG_E_INSUFFICIENTMEMORY

Insufficient memory to complete the operation.

TYPE_E_IOERROR

The function cannot write to the file.

TYPE_E_INVALIDSTATE

The state of the type library is not valid for this operation.

 

Remarks

You should not call any other ICreateTypeLib methods after calling SaveAllChanges.

Requirements

IDL

OaIdl.idl

See also

ICreateTypeLib

 

 

Community Additions

ADD
Show:
© 2016 Microsoft