extern "C" int WINAPI dllinfo(HWND,HWND,char * data,char *,BOOL,BOOL) { lstrcpy(data,"whatever here"); return 3; }