Hi Charles,
the type-definition what I have is okay!
another thing here is an error message in this typedef struct.
typededef struct SDL_Surface
{
Uint32 flags
SDL_PixelFormat *format
int w, h
int pitch
void *pixels
void *userdata
int locked
void *lock_data
SDL_Rect clip_rect
struct SDL_BlitMap *map '< here
int refcount
} SDL_Surface
I got a solution, but whether this is a proper solution I have to test out.
.