Group: Windows Multimedia - Library: avicap32
Using Video Capture: enumerating installed capture drivers
BOOL VFWAPI capGetDriverDescription(
WORD wDriverIndex,
LPSTR lpszName,
INT cbName,
LPSTR lpszVer,
INT cbVer
); DECLARE INTEGER capGetDriverDescription IN avicap32;
INTEGER wDriverIndex,;
STRING @ lpszName,;
INTEGER cbName,;
STRING @ lpszVer,;
INTEGER cbVer
wDriverIndex Index of the capture driver. The index can range from 0 through 9.
lpszName Pointer to a buffer containing a null-terminated string corresponding to the capture driver name.
cbName Length, in bytes, of the buffer pointed to by lpszName.
lpszVer Pointer to a buffer containing a null-terminated string corresponding to the description of the capture driver.
cbVer Length, in bytes, of the buffer pointed to by lpszVer.
Returns TRUE if successful or FALSE otherwise.
Home