1
0
Files
Repository/USMT-Gui-Replace-Scenario/Tools/blatdll.h
2025-10-31 08:58:36 +01:00

35 lines
991 B
C

#if !defined(__BLATDLL_H__)
#define __BLATDLL_H__
#include <tchar.h>
#if defined(_UNICODE) || defined(UNICODE)
# define lcszBlatFunctionName_Send "SendW"
# define lcszBlatFunctionName_Blat "BlatW"
# define lcszBlatFunctionName_cSend "cSendW"
# define lcszBlatFunctionName_SetPrintFunc "SetPrintFuncW"
#else
# define lcszBlatFunctionName_Send "SendA"
# define lcszBlatFunctionName_Blat "BlatA"
# define lcszBlatFunctionName_cSend "cSendA"
# define lcszBlatFunctionName_SetPrintFunc "SetPrintFuncA"
#endif
#if defined(__cplusplus)
extern "C" {
#endif
extern __declspec(dllexport) int APIENTRY Send( LPCTSTR sCmd );
extern __declspec(dllexport) int _stdcall Blat( int argc, LPTSTR argv[] );
extern __declspec(dllexport) void _stdcall SetPrintFunc( void (__stdcall *func)(LPTSTR) );
extern __declspec(dllexport) int __cdecl cSend ( LPCTSTR sCmd );
#if defined(__cplusplus)
}
#endif
#endif /* #if !defined(__BLATDLL_H__) */