b7458fef95
- aggiunta dll con codice nativo usata per scrittura BTL.
40 lines
1.1 KiB
C
40 lines
1.1 KiB
C
//----------------------------------------------------------------------------
|
|
// EgalTech 2023-2023
|
|
//----------------------------------------------------------------------------
|
|
// File : Int2API.h Data : 28.07.23 Versione : 2.5g1
|
|
// Contenuto : API (application programming interface).
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 28.07.23 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#define NOMINMAX
|
|
#include <windows.h>
|
|
|
|
//----------------------- Macro per import/export ----------------------------
|
|
#undef INT2_EXPORT
|
|
#if defined( I_AM_INT2) // da definirsi solo nella DLL
|
|
#define INT2_EXPORT __declspec( dllexport)
|
|
#else
|
|
#define INT2_EXPORT __declspec( dllimport)
|
|
#endif
|
|
|
|
//-----------------------------------------------------------------------------
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// API
|
|
INT2_EXPORT BOOL __stdcall EgtInitBtlWriter( void) ;
|
|
INT2_EXPORT int __stdcall EgtStartBtlWriter( void) ;
|
|
INT2_EXPORT BOOL __stdcall EgtEndBtlWriter( void) ;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|