AW Developer's Guide | AW Interfaces | AW Method Index | AW Type Index


IMoaAwSaveState



Interface ID: IID_IMoaAwSaveState
Pointer type: PIMoaAwSaveState
Inheritance: IMoaUnknown
Header file: awiservc.h

Description

The IMoaAwSaveStateinterface is optionally supplied by an asset, sprite actor, or scripting Xtra. Authorware obtains it through a QueryInterface onIMoaMmXAsset, IMoaMmXSpriteActor, or IMoaDrXLingo. It provides a way for these objects to persist from one session to the next, that is, when a piece resumes after quit.

Methods

GetStreamOutSaveDataSize()
StreamOutSaveData()
StreamInSaveData()

GetStreamOutSaveDataSize()

Syntax

GetStreamOutSaveDataSize(PIMoaAwSaveState This,
MoaUlong FAR *pSizeBytes)

Parameters

This
Pointer to the IMoaAwSaveStateinterface

*pSizeBytes
Pointer to the size of the data needed to save the state of this object

Returns

kMoaErr_NoErrFunction call succeeded

StreamInSaveData()

Syntax

StreamInSaveData(PIMoaAwSaveState This,
PIMoaStream pInStream )

Parameters

This
Pointer to the IMoaAwSaveStateinterface

pInStream
PIMoaStream

Returns

kMoaErr_NoErrFunction call succeeded

StreamOutSaveData()

Syntax

StreamOutSaveData(PIMoaAwSaveState This,
PIMoaStream pOutStream )

Parameters

This
Pointer to the IMoaAwSaveStateinterface

pOutStream
PIMoaStream

Returns

kMoaErr_NoErrFunction call succeeded

Copyright © 1995-2007 Adobe Macromedia Software LLC, Inc.