forked from 100security/script-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blatdll.h
26 lines (19 loc) · 952 Bytes
/
blatdll.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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
extern "C" __declspec(dllexport) int APIENTRY Send( LPCTSTR sCmd );
extern "C" __declspec(dllexport) int _stdcall Blat( int argc, LPTSTR argv[] );
extern "C" __declspec(dllexport) void _stdcall SetPrintFunc( void (__stdcall *func)(LPTSTR) );
extern "C" __declspec(dllexport) int __cdecl cSend ( LPCTSTR sCmd );
#endif /* #if !defined(__BLATDLL_H__) */