int Registerpluginclass(char *classname,char *iconname,HINSTANCE dllinst,WNDPROC classproc);
void Unregisterpluginclass(char *classname);
int Pluginwriteinttoini(HINSTANCE dllinst,char *key,int value);
int Pluginwritestringtoini(HINSTANCE dllinst,char *key,char *s);
int Pluginreadintfromini(HINSTANCE dllinst,char *key,int def);
int Pluginreadstringfromini(HINSTANCE dllinst,char *key,char *s,char *def);
int Pluginsaverecord(ulong tag,ulong size,void *data);
int Plugingetvalue(int type);
t_status Getstatus(void);