I am using the ISampleGrabber and the function GetCurrentBuffer didn't retreive nothing and i don't know where is the problem my code didn't cause no errors but when i insert a breakpoint in the begining and by following all the instructions of my function i see that the GetCurrentBuffer didn't return no thing.
this is my part of code and as i told you no errors appears so don't ask me this variable or this thing is not declared because all seems good running.Just if someone can told me whats wrong or missing to retreive my buffer: