Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PStringList PVideoInputDevice_VideoForWindows::GetInputDeviceNames (  ) [static]

Is the device a camera, and obtain video

Definition at line 898 of file vfw.cxx.

Referenced by GetDeviceNames().

{
  PStringList list;

  for (WORD devId = 0; devId < 10; devId++) {
    char name[100];
    char version[200];
    if (capGetDriverDescription(devId, name, sizeof(name), version, sizeof(version)))
      list.AppendString(name);
  }

  return list;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index