Passing a type to a DLL API

BlitzMax Forums/BlitzMax Programming/Passing a type to a DLL API

What about getting a structure out, returned from a DLL function? I'm attempting to write a Blitz method of using Winamp plugins (for especially esoteric music formats like NSF). Winamp plugin DLLs have a common function, winampGetInModule2(), which returns a custom struct containing references and stuff, I found a definition of it in another wrapper:

typedef struct 
{
	int version;				// module type (IN_VER)
	char *description;			// description of module, with version string

	HWND hMainWindow;			// winamp's main window (filled in by winamp)
	HINSTANCE hDllInstance;		// DLL instance handle (Also filled in by winamp)

	char *FileExtensions;		// "mp3\0Layer 3 MPEG\0mp2\0Layer 2 MPEG\0mpg\0Layer 1 MPEG\0"

... etc.

I can't work out how to even pull the first string out (description). Can anyone help?