dmPMConvertToByteStream(3dm)dmPMConvertToByteStream(3dm)NAMEdmPMConvertToByteStream - 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.
DESCRIPTIONdmPMConvertToByteStream 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 VALUESdmPMConvertToByteStream will return DM_SUCCESS if successful, or will
return DM_FAILURE if it fails.
SEE ALSOdmPMCreateManager(3dm), dmPMCreateFromByteStream(3dm),
dmPMCreateEffect(3dm), dmGetError(3dm).
Page 1