Sign in to follow this  

Getting DirectDraw Lock state of other application

Recommended Posts

I wish to know if there is any possible way for one application to know if another application has locked the primary surface? In example, a game is running and my application has suspended that game. I want my application to set pixel on screen. My application should set pixel with SetPixel, but it won't work when primary surface is locked. If my application got lock state, it would wait until it unlocks.

Share this post

Link to post
Share on other sites

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