Auto-commit: 2025-10-31 08:58:35
This commit is contained in:
34
USMT-Gui-Replace-Scenario/Tools/blatdll.h
Normal file
34
USMT-Gui-Replace-Scenario/Tools/blatdll.h
Normal file
@@ -0,0 +1,34 @@
|
||||
#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__) */
|
||||
Reference in New Issue
Block a user