Sign in to follow this  

How to get the surface if I have only pointer to IGraphBuilder?

This topic is 4520 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is it possible? The problem is that I have only a pointer to the IGraphBuilder object, and I don't have pointer to IDirectDraw nor IDirectDrawSurface. Is it possible to somehow get the pointer to the surface. I tried to get pointer to IBaseFilter by using the findfilterbyname function of IGraphBuilder, then get the pointer to IDirectDrawVideo by using pointertobasefilter->QueryInterface(IID_IDirectDrawVideo, (void**)&pointertoddvideo) and finally to get pointer to idirectdraw and use createsurface function. Everything would be ok, but queryinterface returns that IBaseFilter doesn't support IDirectDrawVideo interface. I've searched microsoft msdn for information if IBaseFilter supports IDirectDrawVideo interface, but without succes. So I don't even know if it does. Any suggestions. Thanks for any advise.

Share this post


Link to post
Share on other sites

This topic is 4520 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this