VC_GetStreamError

ULONG
VC_GetStreamError(
    VCUSER_HANDLE
vh
   
);

The VC_GetStreamError function returns the count of frames that have been dropped from the currently active capture stream since the last time VC_GetStreamError was called.

Parameters
vh
Handle to the kernel-mode driver, obtained from VC_OpenDevice.
Return Value

Returns the number of dropped frames.

Comments

When transferring streams of captured data, a kernel-mode driver drops a frame if a hardware interrupt indicates the frame buffer is full, but the queue of client-supplied buffers is empty. Code within VCUser.lib keeps track of dropped frames. You do not have to provide any code to handle dropped frames.