Original Post
I program in Vb and this pointer stuff is quite difficut to deal with. Is every directdraw surface a pointer? (Why?). also i was looking over one of the .h files where i think it was declaring functions in it would have something like:
DirectDrawSurface7* DDCreate(....)
ok i dont have the source code in front of me but my question is why the * after the 1rst part. when i learnt c i leaned that you could declare function with paramiters like int main or void this_function but what is the purpose of this? i know if vb you could declare a function a certain value so that it returned a value to the calling function. so is that what this is and why declare it as a DirectDraw...*? and why the star? is it required.
Also in the same vein what is HRESULT? it was used in the same manor to declare a function. is this really necessary? if so then why?
Thanks