DVM_GETERRORTEXT

Notifies a video capture driver to retrieve the textual description of an error.

dwParam1

Address of a VIDEO_GETERRORTEXT_PARMS structure. The structure identifies the error number and return buffer.

dwParam2

Not used.

If the error description is longer than the specified buffer, the description is truncated. The returned error string is always zero-terminated. If the size of the return buffer is zero, a string description is not returned and DV_ERR_OK is used as the return value.