function SetStruct(const struct: PPluginStruct): Boolean; stdcall; begin ps := struct^; Result:=True; end;