Difference between LPDIRECTDRAWSUFACE7 and IDirectDrawSurface7 *
I have a function, Draw(), which takes in a DDraw surface as an argument in order to Blt. I was wondering if the argument should be "LPDIRECTDRAWSURFACE7 surface" or "IDirectDrawSurface7 *surface". I've seen them both used in examples and in my own tests I have used them both interchangeably. The only difference that I've seen was when using "LPDIRECTDRAWSURFACE7 surface", when taking a screenshot using print screen, it was pitch black. What are the differences between the two, and which one should I use?
[edited by - punx on March 17, 2003 3:41:47 PM]
~punx
LPDIRECTDRAWSURFACE7 is defined a IDirectDrawSurface7*, so it doesn''t matter which you use.
[ PGD - The Home of Pascal Game Development! ] [ Help GameDev.net fight cancer ]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement