-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathOmniMIDI.cpp
27 lines (22 loc) · 1.27 KB
/
OmniMIDI.cpp
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
27
/*
OmniMIDI v15+ (Rewrite) for Windows NT
This file contains the required code to run the driver under Windows 7 SP1 and later.
This file is useful only if you want to compile the driver under Windows, it's not needed for Linux/macOS porting.
*/
#include "OmniMIDI.hpp"
int (WINAPI* IsKDMAPIAvailable)() = 0;
int (WINAPI* InitializeKDMAPIStream)() = 0;
int (WINAPI* TerminateKDMAPIStream)() = 0;
void (WINAPI* ResetKDMAPIStream)() = 0;
void (WINAPI* SendDirectData)(unsigned int) = 0;
void (WINAPI* SendDirectDataNoBuf)(unsigned int) = 0;
unsigned int (WINAPI* SendDirectLongData)(void*, unsigned int) = 0;
unsigned int (WINAPI* SendDirectLongDataNoBuf)(void*, unsigned int) = 0;
unsigned int (WINAPI* PrepareLongData)(MIDIHDR*, unsigned int) = 0;
unsigned int (WINAPI* UnprepareLongData)(MIDIHDR*, unsigned int) = 0;
int (WINAPI* InitializeCallbackFeatures)(HMIDI*, DWORD_PTR, DWORD_PTR, DWORD_PTR, DWORD) = 0;
void (WINAPI* RunCallbackFunction)(DWORD, DWORD_PTR, DWORD_PTR) = 0;
int (WINAPI* SendCustomEvent)(unsigned int, unsigned int, unsigned int) = 0;
int (WINAPI* DriverSettings)(unsigned int, unsigned int, void*, unsigned int) = 0;
unsigned long long (WINAPI* timeGetTime64)() = 0;
unsigned int (WINAPI* modMessage)(unsigned int, unsigned int, DWORD_PTR, DWORD_PTR, DWORD_PTR) = 0;