#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