dmPMConvertToByteStream(3dm) dmPMConvertToByteStream(3dm)
dmPMConvertToByteStream - saves away a special effect as a byte stream
#include <dmedia/fx_plugin_mgr.h>
DMstatus dmPMConvertToByteStream [Toc] [Back]
( DMeffect * effect,
void ** byteStream,
size_t * numBytes )
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.
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.
dmPMConvertToByteStream will return DM_SUCCESS if successful, or will
return DM_FAILURE if it fails.
dmPMCreateManager(3dm), dmPMCreateFromByteStream(3dm),
dmPMCreateEffect(3dm), dmGetError(3dm).
PPPPaaaaggggeeee 1111 [ Back ]
|