Interface ID: IID_IMoaDrPlayerPointer type:
PIMoaDrPlayerInheritance:
IMoaMmPropOwner
Header file: driservc.h
- CallHandler(MoaMmSymbol name, MoaLong nArgs, PMoaMmValue pArgs, PMoaMmValue pResult)
name
MoaMmSymbolThe MoaMmSymbol for the name of the method to call nArgs
MoaLongThe number of arguments you are passing
to the handler pArgs
PMoaMmValueThe array of MoaMmValue arguments pResult
PMoaMmValuePointer to a caller-owned MoaMmValue to receive a result value from the handler
MoaError
- GetActiveMovie(PIMoaDrMovie FAR * ppIMoaDrMovie)
ppIMoaDrMovie
PIMoaDrMovie FAR * Pointer to a PIMoaDrMovie to receive new interface
MoaError
- GetCastMemTypeCount(MoaLong FAR * pTypeCount)
pTypeCount
MoaLong FAR * Pointer to a MoaLong to receive the count
MoaError
- GetCastMemTypeDisplayName(MoaMmSymbol typeSymbol, PMoaChar pName, MoaLong maxLen)
typeSymbol
MoaMmSymbol The symbol of the type of interest pName
PMoaChar Pointer to buffer to receive null-terminated C string text of the display name maxLen
MoaLong Size of the caller's name buffer
MoaError
- GetGlobalVarValue(MoaMmSymbol globalVarName, PMoaMmValue pValue)
globalVarName
MoaMmSymbol The symbol of the global variable of interest pValue
PMoaMmValue Pointer to a MoaMmValue to receive the value
MoaError
- GetMovieCount(MoaLong FAR *pMovieCount)
pMovieCount
MoaLong FAR * Pointer to a MoaLong to receive count of open movies
MoaError
- GetNthCastMemTypeSymbol(MoaLong typeIndex, PMoaMmSymbol pSymbol)
typeIndex
MoaLong Index (from 1 to GetCastMemTypeCount()) of the cast member type of interest pSymbol
PMoaMmSymbol Pointer to a MoaMmSymbol to receive the type's symbol
MoaError
- GetNthMovie(MoaLong movieIndex, PIMoaDrMovie FAR * ppIMoaDrMovie)
movieIndex
MoaLong Index of movie to obtain interface for;
ranges from 1 to the number of open movies ppIMoaDrMovie
PIMoaDrMovie FAR * Pointer to a PIMoaDrMovie to receive new interface
MoaError
- GetProp(MoaMmSymbol symbol, PMoaMmValue pPropValue)
symbol
MoaMmSymbol The MoaMmSymbol for the property of interest pPropValue
PMoaMmValue Pointer to a caller-owned MoaMmValue structure to receive the value of the property
| 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 |
- ResolveFileName(ConstPMoaChar pFileName, PMoaChar pPathName, MoaLong maxLen)
pFileName
ConstPMoaChar Pointer to C string of filename in native platform format to resolve. Prior to D7, this parameter
was a PMoaChar.pPathName
PMoaChar Pointer to C string to receive resolved full pathname maxLen
MoaLong Size of the caller's pPathName buffer
MoaError
- SetGlobalVarValue(MoaMmSymbol globalVarName, PMoaMmValue pValue)
globalVarName
MoaMmSymbol The symbol of the global variable of interest pValue
PMoaMmValue Pointer to a MoaMmValue to copy the new value from
MoaError
- SetProp(MoaMmSymbol symbol, ConstPMoaMmValue pPropValue)
symbol
MoaMmSymbol The MoaMmSymbol for the property of interest pPropValue
ConstPMoaMmValue Pointer to a caller-owned MoaMmValue structure from which to copy the 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, can't set--internal error |
| kMoaMmErr_NoMemForString | Can't allocate memory for setting string value data |
| kMoaErr_OutOfMem | Can'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 |