Interface ID: IID_IMoaDrMovie
Pointer type:
PIMoaDrMovie
Inheritance: IMoaDrMediaOwner
Header file: driservc.h
- AddExternalCast(PMoaChar pCastName, PMoaChar pPathName, PMoaDrCastIndex pNewCastIndex)
pCastName
PMoaChar
The user reference name for the cast pPathName
PMoaChar
The full path name for an external cast pNewCastIndex
PMoaDrCastIndex
Gets the index for the position in the cast list
MoaError
- AttachMedia(PMoaDrMediaInfo pMediaInfo)
pMediaInfo
PMoaDrMediaInfo
Pointer to a caller-owned media information structure
MoaError
- CallHandler(MoaMmSymbol name, MoaLong nArgs, PMoaMmValue pArgs, PMoaMmValue pResult)
name
MoaMmSymbol
Symbol of the handler name to callnArgs
MoaLong
Number of arguments to pass pArgs
PMoaMmValue
Array of MoaMmValues containing the arguments to the call pResult
PMoaMmValue
Pointer to a caller-owned MoaMmValue to receive the return value
MoaError
- GetCastCount(MoaLong FAR * pCastCount)
pCastCount
MoaLong FAR *
Pointer to a MoaLong to receive the number of casts
MoaError
- GetCastFromName(PMoaChar pCastName, PIMoaDrCast FAR * ppIMoaDrCast)
pCastName
PMoaChar
Pointer to a null-terminated C string containing the cast name of interest ppIMoaDrCast
PIMoaDrCast FAR *
Pointer to a PIMoaDrCast to receive a pointer to the cast interface
MoaError
- GetCastIndexFromName(PMoaChar pCastName, MoaDrCastIndex FAR * pCastIndex)
pCastName
PMoaChar
Pointer to a null-terminated C string containing the cast name of interest pCastIndex
MoaDrCastIndex FAR *
Pointer to a MoaDrCastIndex to receive the index
MoaError
- GetCastMemFromCMRef(PMoaDrCMRef pCastMemRef, PIMoaDrCastMem FAR * ppIMoaDrCastMem)
pCastMemRef
PMoaDrCMRef
Pointer to a MoaDrCMRef which specifies the cast member of interest ppIMoaDrCastMem
PIMoaDrCastMem FAR *
Pointer to a PIMoaDrCastMem to receive the interface for the cast member
MoaError
- GetCMRefFromMemberName(PMoaChar pMemberName, PMoaDrCMRef pCastMemRef)
pMemberName
PMoaChar
Pointer to a null-terminated C string
containing the cast member name of interest pCastMemRef
PMoaDrCMRef
Pointer to a MoaDrCMRef to receive cast member reference
kMoaErr_NoErr | Successful |
kMoaDrErr_CastMemNotFound | Cast member not found |
- GetFrameIndexFromLabel(PMoaChar pLabelName, PMoaDrFrameIndex pFrameIndex)
pLabelName
PMoaChar
Pointer to a null-terminated C-string
containing the name of the marker associated with the score frame
(case-insensitive) pFrameIndex
PMoaDrFrameIndex
Pointer to a MoaDrFrameIndex to receive the frame number of the label (marker)
kMoaErr_NoErr | if successful, kMoaDrErr_LabelNotFound if marker doesn't exist. |
- GetFrameLabelFromIndex(MoaDrFrameIndex frameIndex, PMoaChar pLabelName, MoaLong maxLen)
frameIndex
MoaDrFrameIndex
A MoaDrFrameIndex holding the frame number of interest pLabelName
PMoaChar
Pointer to a string buffer to receive
the name of the marker associated with the given score frame maxLen
MoaLong
The length in bytes of the caller's C
string buffer
MoaError
- PMoaDrMediaInfo pMediaInfo)
pMediaInfo
PMoaDrMediaInfo
Pointer to a caller-owned media
information structure
MoaError
- GetNthCast(MoaDrCastIndex movieCastIndex, PIMoaDrCast FAR * ppIMoaDrCast)
movieCastIndex
MoaDrCastIndex
Index of the cast (from 1 to GetCastCount())
of interest ppIMoaDrCast
PIMoaDrCast FAR *
Pointer to a PIMoaDrCast to receive a pointer to the cast interface
MoaError
symbol
MoaMmSymbol
The MoaMmSymbol for the property of interestpPropValue
PMoaMmValue
Pointer to a MoaMmValue to receive the value
kMoaErr_NoErr | Property exists and value was returned |
kMoaErr_BadParam | Invalid pPropValue passed in |
kMoaMmErr_PropertyNotFound | Property isn't supported by this class |
kMoaMmErr_InternalError | Property exists but couldn't get due to internal error |
kMoaMmErr_NoMemForString | Couldn't allocate memory for string value data |
kMoaErr_OutOfMem | Couldn't allocate memory for other value data |
- GetScoreAccess(PIMoaDrScoreAccess FAR * ppScore)
ppScore
MoaError
- GetStageBufferGC(PIMoaMmGC FAR * ppBufferGC)
ppBufferGC
PIMoaMmGC FAR *
Pointer to a IMoaMmGC interface for the stage offscreen buffer
MoaError
- GetStageWindowGC(PIMoaMmGC FAR * ppWindowGC)
ppWindowGC
PIMoaMmGC FAR *
Pointer to a IMoaMmGC interface for the stage window
MoaError
- NewCast(PMoaChar pCastName, MoaBoolParam bExternal, PMoaDrCastIndex pNewCastIndex)
pCastName
bExternal
pNewCastIndex
MoaError
- MoaDrCastIndex castIndexToRemove)
castIndexToRemove
MoaDrCastIndex
MoaDrCastIndex for the cast to remove
MoaError
- Save(PMoaChar pNewPathName, MoaBoolParam bSaveExtCasts)
pNewPathName
PMoaChar
Null-terminated C string for the path bSaveExtCasts
kMoaErr_NoErr | Successful |
kMoaDrErr_DiskIO | IO error during file access |
- SendSpriteMessage(MoaDrSpriteChanIndex chanIndex, MoaMmSymbol handlerName, MoaLong nArgs, PMoaMmValue pArgs, PMoaMmValue pResult, MoaBool FAR * pHandled)
chanIndex
MoaDrSpriteChanIndex
Channel number of sprite
to which to send the message. Valid values are from 1 to
48. handlerName
MoaMmSymbol
Symbol for the handler (message) name nArgs
MoaLong
Number of arguments you're passing pArgs
PMoaMmValue
Pointer to an array of MoaMmValues containing arguments pResult
PMoaMmValue
Pointer to a MoaMmValue to receive a result pHandled
MoaBool FAR *
arguments to a MoaBool to receive TRUE if the message was handled somewhere down the
chain or FALSE if it was not.
MoaError
- SetFrameLabel(MoaDrFrameIndex frameIndex, PMoaChar pLabelName)
frameIndex
MoaDrFrameIndex
A MoaDrFrameIndex holding the number of the frame pLabelName
PMoaChar
Pointer to a MoaChar to receive the name of the marker associated with the given score
frame
MoaError
- SetMedia(PMoaDrMediaInfo pMediaInfo)
pMediaInfo
PMoaDrMediaInfo
Pointer to a caller-owned media information structure
MoaError
- SetProp(MoaMmSymbol symbol, ConstPMoaMmValue pPropValue)
symbol
MoaMmSymbol
The MoaMmSymbol for the property of interest pPropValue
ConstPMoaMmValue
Pointer to a caller-owned ConstPMoaMmValue structure from which to copy the new value
kMoaErr_NoErr | Property exists and value was set |
kMoaErr_BadParam | Invalid pPropValue passed in |
kMoaMmErr_PropertyNotFound | Property isn't supported by this class |
kMoaMmErr_InternalError | Property exists, value ok, couldn't set--internal error |
kMoaMmErr_NoMemForString | Couldn't allocate memory for setting string value data |
kMoaErr_OutOfMem | Couldn't allocate memory for setting other value data |
kMoaMmErr_IntegerExpected | Type mismatch: integer value expected |
kMoaMmErr_SymbolExpected | Type mismatch: symbol value expected |
kMoaMmErr_FloatExpected | Type mismatch: float value expected |
kMoaMmErr_StringExpected | Type mismatch: string value expected |
kMoaMmErr_PointExpected | Type mismatch: point value expected |
kMoaMmErr_RectExpected | Type mismatch: rect value expected |
kMoaMmErr_ValueTypeMismatch | Type mismatch: other value expected (non-specific) |
kMoaDrErr_CastMemberExpected | Type mismatch: CMRef value expected |
- UpdateStageRect(MoaRect FAR * pWindowRect, MoaRect FAR * pBufferRect)
pWindowRect
MoaRect FAR *
Pointer to a MoaRect describing the area of the stage window to update pBufferRect
MoaRect FAR *
Pointer to a MoaRect describing the area of the offscreen buffer from where to update
MoaError