how to enable camera to start capturing frames?

I had read some letters and have a question that how to enable camera to start capturing frames?
Do I need use the function usbd_setup_vendor? But its argu. is not clear.My video camera is based ov511+?Help!!!

Thanks for your reply!