User's Manual

7.7.20 DVS300_WriteAVIFile
Syn t a x
int DVS300_WriteAVI File(HANDLE hAVI File, LPVOI D lpStream Buf, long
lBufSize, DWORD dwCom pFlags)
Pa ram et e r s
hAVI File: Specifies the AVI file handle.
lpStream Buf: A pointer to the video stream data buffer written into
the file.
lBufSize: Specifies the size of the video stream data buffer.
dwCompFlags: Flag associated with this data. The AVI I F_KEYFRAME
flag is defined to indicate this data does not rely on
preceding data in the file.
# define AVI I F_KEYFRAME 0x00000010L
Ret urn Value
ENC_SUCCEEDED: Function succeeded.
ENC_FAI LED: Function failed.
ENC_SDKI NI TFAI LED: SDK does not be initialized successfully.
De script ion
This funct ion writes the video stream data into t he specified AVI file.
Se e Also
DVS300_CreateAVI File
DVS300_CloseAVIFile