21#define LOCAL_DATA_SIZE 20
33#define LOCAL_MIDI_BUFFERS 8
109 DPRINT(
"OpenMidiDevice()\n");
153 if ( !pClient->
Event )
185 *pUserHandle = pClient;
218 case 0xF0:
case 0xF4:
case 0xF5:
case 0xF6:
case 0xF7:
222 case 0xF1:
case 0xF3:
233 case 0x80:
case 0x90:
case 0xA0:
case 0xB0:
case 0xE0:
237 case 0xC0:
case 0xD0:
242 return (pClient->
l - 1);
258 DPRINT(
"MIDM_GETNUMDEVS");
262 DPRINT(
"MIDM_GETDEVCAPS");
309 DPRINT(
"MODM_GETDEVCAPS");
324 for (
i = 0;
i < 4;
i ++) {
325 b[
i] = (
BYTE)(Param1 % 256);
348 DPRINT(
"MODM_CACHEPATCHES");
352 DPRINT(
"MODM_CACHEDRUMPATCHES");
MMRESULT GetDeviceCapabilities(MIDIOUTCAPS *caps)
MMRESULT OpenDevice(DeviceInfo **private_data, MIDIOPENDESC *open_desc, DWORD flags)
BOOL WINAPI DeviceIoControl(IN HANDLE hDevice, IN DWORD dwIoControlCode, IN LPVOID lpInBuffer OPTIONAL, IN DWORD nInBufferSize OPTIONAL, OUT LPVOID lpOutBuffer OPTIONAL, IN DWORD nOutBufferSize OPTIONAL, OUT LPDWORD lpBytesReturned OPTIONAL, IN LPOVERLAPPED lpOverlapped OPTIONAL)
DWORD GetDeviceCount(DeviceType device_type)
struct _LOCALMIDIHDR * PLOCALMIDIHDR
struct tag_MIDIALLOC * PMIDIALLOC
struct LOCALMIDIDATA * PLOCALMIDIDATA
struct tag_MIDIALLOC MIDIALLOC
static DWORD WriteMidi(PBYTE pData, ULONG Length, PMIDIALLOC pClient)
PMIDIALLOC MidiHandleList
APIENTRY DWORD midMessage(DWORD dwId, DWORD dwMessage, DWORD dwUser, DWORD dwParam1, DWORD dwParam2)
struct _LOCALMIDIHDR LOCALMIDIHDR
APIENTRY DWORD modMessage(DWORD ID, DWORD Message, DWORD User, DWORD Param1, DWORD Param2)
#define LOCAL_MIDI_BUFFERS
static DWORD OpenMidiDevice(UINT DeviceType, DWORD ID, DWORD User, DWORD Param1, DWORD Param2)
static int GetMidiLength(PMIDIALLOC pClient, BYTE b)
struct MIDIOPENDESC * LPMIDIOPENDESC
#define MODM_CACHEDRUMPATCHES
#define MODM_CACHEPATCHES
DWORD TranslateStatus(void)
static const WCHAR Message[]
GLboolean GLboolean GLboolean b
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define MMSYSERR_NOTSUPPORTED
_In_ ULONG _In_ ULONG _In_ ULONG Length
PLOCALMIDIHDR DeviceQueue
LOCALMIDIHDR Bufs[LOCAL_MIDI_BUFFERS]
BYTE ExtraData[LOCAL_DATA_SIZE - sizeof(ULONG)]
struct _LOCALMIDIHDR * lpNext
struct tag_MIDIALLOC * Next
struct tag_MIDIALLOC::@467::@468 GetSetData
union tag_MIDIALLOC::@467 AuxParam
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_opt_ PULONG_PTR BytesReturned
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO