Skip to content

Latest commit

 

History

History
64 lines (44 loc) · 1.36 KB

File metadata and controls

64 lines (44 loc) · 1.36 KB

Home

Function name : capGetDriverDescription

Group: Windows Multimedia - Library: avicap32


The capGetDriverDescription function retrieves the version description of the capture driver.


Code examples:

Using Video Capture: enumerating installed capture drivers

Declaration:

BOOL VFWAPI capGetDriverDescription(
  WORD wDriverIndex,
  LPSTR lpszName,
  INT cbName,
  LPSTR lpszVer,
  INT cbVer
);  

FoxPro declaration:

DECLARE INTEGER capGetDriverDescription IN avicap32;
	INTEGER   wDriverIndex,;
	STRING  @ lpszName,;
	INTEGER   cbName,;
	STRING  @ lpszVer,;
	INTEGER   cbVer
  

Parameters:

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.


Return value:

Returns TRUE if successful or FALSE otherwise.