Sign in to follow this  

Problem with Lock surface function

This topic is 4334 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

void lock( int surface, void **mempointer, int *pitch ); // locks a surface and returns a pointer to the pixeldata, and the surface pitch. Please help me with this function, i need thwe whole function description thank you very much greetings Johan

Share this post


Link to post
Share on other sites
Please read this sticky thread. As suggested in those guidelines - you need to help us if you want us to help you.

Quote:
Include all the information that might be needed for people to give a good answer, including the version of DirectX you are using, as well as the SDK version, and any details about your hardware that you think might apply to the problem. If you don't give enough information, people won't be able to help you until you do.


If you have the SDK installed, look in the help files - they have full descriptions and parameter listings for all the functions.

hth
Jack

Share this post


Link to post
Share on other sites

This topic is 4334 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