Hi Puppy,
It depends on what webcam you are using and whether the manufacturer provides a C programming API to be used with the camera. A few people have posted to the discussion forums in the past with this sort of query. I have posted a few links to these threads below.
http://forums.ni.com/ni/board/message?board.id=180&message.id=4156&requireLogin=False
http://forums.ni.com/ni/board/message?board.id=180&message.id=910&requireLogin=False
http://forums.ni.com/ni/board/message?board.id=180&message.id=6664&requireLogin=False
Hope these help, if you have any further questions then please feel free to post back to this thread, I have subscribed to it and will look into any questions you have.
Best regards,
Peter H,
Applications Engineer,
National Instruments UK.