DR Developer's Guide
DR Interfaces |
DR Methods |
DR Types and Misc API
Interface ID: IID_IMoaDrMediaValue
Pointer type: PPIMoaDrMediaValue
Inheritance: IMoaUnknown
Header file: drivalue.h
Description
-
The
IMoaDrMediaValue interface provides Director-specific value types for media. It complements the features of IMoaDrValue, providing application-specific services to Xtras.
Methods
-
- ValueToMedia()
MediaToValue()
ValueToPicture()
PictureToValue()
Syntax
- MediaToValue(PPIMoaDrMediaValue This,
- const MoaHandle hMediaData,
- PMoaMmValue pValue)
Parameters
-
This- Pointer to the
PIMoaDrMediaValue interface
hMediaDataconst MoaHandle Pointer to a handle that has the media data
pValuePMoaMmValue Pointer to a MoaMmValue to receive the result
Returns
MoaError
Description
-
This method creates a Lingo value from a binary handle that was acquired by calling ValueToMedia(). This Lingo value can be passed as a parameter to a Lingo handler.
Syntax
- PictureToValue(PPIMoaDrMediaValue This,
- const MoaHandle hPictureData,
- PMoaMmValue pValue)
Parameters
-
This- Pointer to the
PIMoaDrMediaValue interface
hPictureDataconst MoaHandle Pointer to a handle that has the picture data
pValuePMoaMmValue Pointer to a MoaMmValue to receive the result
Returns
MoaError
Description
-
This method creates a Lingo value from a binary handle that was acquired by calling ValueToPicture(). This Lingo value can be passed as a parameter to a Lingo handler.
Syntax
- ValueToMedia(PPIMoaDrMediaValue This,
- ConstPMoaMmValue pValue,
- MoaHandle *phMediaData)
Parameters
-
This- Pointer to the
PIMoaDrMediaValue interface
pValueConstPMoaMmValue Pointer to a value
*phMediaDataMoaHandle Pointer to a handle to receive the media data
Returns
MoaError
Description
-
This method converts a media Lingo value to a binary handle for saving to a file or network streaming. The binary value can be moved to a different platform and passed back to Director or Shockwave.
Syntax
- ValueToPicture(PPIMoaDrMediaValue This,
- ConstPMoaMmValue pValue,
- MoaHandle *phPictureData)
Parameters
-
This- Pointer to the
PIMoaDrMediaValue interface
pValueConstPMoaMmValue Pointer to a value
*phPictureDataMoaHandle Pointer to a handle to receive the picture data
Returns
MoaError
Description
-
This method converts a picture Lingo value to a binary handle for saving to a file or network streaming. The binary value can be moved to a different platform and passed back to Director or Shockwave.
Copyright © 1995-2007 Adobe Macromedia Software LLC, Inc.