Notifies a video capture driver to fill an input buffer with video data and return the full buffer to the client application.
DV_ERR_NONSPECIFIC | Indicates a buffer is not specified. |
DV_ERR_UNPREPARED | Indicates the buffer was not prepared. |
The data buffer must be prepared with DVM_STREAM_PREPAREHEADER before it is passed with DVM_STREAM_ADDBUFFER. The VIDEOHDR data structure and the data buffer pointed to by its lpData field must be allocated with GlobalAlloc using the GMEM_MOVEABLE and GMEM_SHARE flags, and locked with GlobalLock.