campo-sirio/xvaga/agasys.h

26 lines
902 B
C
Executable File

#ifndef __AGASYS_H__
#define __AGASYS_H__
#ifdef WIN32
#if XVAGADLL == 1
#define XVTDLL __declspec(dllexport)
#else
#define XVTDLL __declspec(dllimport)
#endif
#else
#define XVTDLL
#endif
XVTDLL bool aga_unzip(const char* zipfile, const char* destdir);
XVTDLL bool aga_zip(const char* zipmask, const char* zipfile);
XVTDLL bool aga_zip_filelist(const char* filelist, const char* zipfile);
XVTDLL unsigned long aga_dde_connect(const char* host, const char* service, const char* topic);
XVTDLL bool aga_dde_execute(unsigned long connection, const char* command);
XVTDLL bool aga_dde_execute_async(unsigned long connection, const char* command);
XVTDLL bool aga_dde_poke(unsigned long connection, const char* item, const char* data);
XVTDLL int aga_dde_request(unsigned long connection, const char* item, char* data, int max_size);
XVTDLL bool aga_dde_terminate(unsigned long connection);
#endif