dmPMConvertToByteStream(3dm)

dmPMConvertToByteStream - saves away a special effect as a byte stream

As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.

NAME
     dmPMConvertToByteStream - saves away a special effect as a byte stream


SYNOPSIS
     #include <dmedia/fx_plugin_mgr.h>

     DMstatus dmPMConvertToByteStream
           ( DMeffect * effect,
             void ** byteStream,
             size_t * numBytes )


PARAMETERS
     effect       A pointer to a DMeffect, which was returned from
                  dmPMCreateEffect.

     byteStream   A placeholder for the byte stream.

     numBytes     The size of the byte stream to be returned.


DESCRIPTION
     dmPMConvertToByteStream is usually called when writing to a project file.
     The application calls dmPMConvertToByteStream to save away the effect.
     Later, the application can call dmPMCreateFromByteStream to create the
     DMeffect again.


RETURN VALUES
     dmPMConvertToByteStream will return DM_SUCCESS if successful, or will
     return DM_FAILURE if it fails.


SEE ALSO
     dmPMCreateManager(3dm), dmPMCreateFromByteStream(3dm),
     dmPMCreateEffect(3dm), dmGetError(3dm).