That's the right function call. What do you mean by "doesn't work"? That's not very much information. Is there an error, does it crash, do you get some weird graphics on the screen?