Original Post
I''ve been looking at all this Win32/DirectX programming and I just have to ask - what the hell does "(USHORT *)" do in the position that it''s in here:
video_buffer = (USHORT *)ddsd.lpSurface;
I''ve seen syntax like this before but I don''t know what exactly the (USHORT *) is doing there? Why in parentheses? Etc. etc. etc.