ref_iface_IVDXInputFile_CreateOptions - shekh/VirtualDub2 GitHub Wiki
VirtualDub Plugin SDK 1.2
IVDXInputFile interface
Creates an options object based on previously serialized data from IVDXInputOptions::Write().
bool CreateOptions(const void *buf, uint32 len, IVDXInputOptions **ppOptions);
buf | Pointer to buffer with serialized options data. |
len | Length of serialized options data, in bytes. |
ppOptions | Pointer to variable to receive options object. |
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
True if successful, false if out of memory.
The serialized data must be from the Write() method of an input options object for this input file type; it is assumed that input options data from different input drivers is not mixed. However, implementations should tag serialized data appopriately to at least allow for detection and handling of serialized data from older and newer versions of the same input driver.
Copyright (C) 2007-2012 Avery Lee.