Files
Work/midiseq/safe/MIDISEQ.HPP
2024-08-07 09:16:27 -04:00

31 lines
827 B
C++

#ifndef _MIDISEQ_MIDISEQ_HPP_
#define _MIDISEQ_MIDISEQ_HPP_
#if defined(__FLAT__)
extern "C"
{
#if defined(_MSC_VER)
__declspec(dllexport) BOOL _stdcall DllMain(HINSTANCE hInstance,DWORD reasonCode,LPVOID lpvReserved);
#else
BOOL WINAPI DllEntryPoint(HINSTANCE hInstance,DWORD reasonCode,LPVOID lpvReserved);
#endif
}
#else
extern "C"
{
int CALLBACK _export LibMain(HINSTANCE hInstance,WORD wDataSeg,WORD wHeapSize,LPSTR lpszCmdLine);
int CALLBACK _export WEP(int nExitType);
}
#endif
#if defined(_MSC_VER)
__declspec(dllexport) short _stdcall play(String midiPathFileName);
__declspec(dllexport) short _stdcall stop(void);
__declspec(dllexport) short _stdcall isInPlay(void);
#else
short CALLBACK _export play(String midiPathFileName);
short CALLBACK _export stop(void);
short CALLBACK _export isInPlay(void);
#endif
#endif