mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.0 KiB
29 lines
1.0 KiB
// Copyright (c) 1998 Microsoft Corporation
|
|
/*
|
|
* Prototypes for thunked functions between DMusic32.dll and DMusic16.dll
|
|
*/
|
|
#ifndef _DMTHUNK_
|
|
#define _DMTHUNK_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern void PASCAL dmUntileBuffer(DWORD dwTilingInfo);
|
|
extern DWORD PASCAL dmTileBuffer(DWORD dwFlatMemory, DWORD dwLength);
|
|
extern MMRESULT PASCAL OpenLegacyDevice(DWORD dwId, BOOL fIsOutput, BOOL fShare, HANDLE *pHandle);
|
|
extern MMRESULT PASCAL CloseLegacyDevice(HANDLE h);
|
|
extern MMRESULT PASCAL ActivateLegacyDevice(HANDLE h, DWORD fActivate);
|
|
|
|
extern MMRESULT PASCAL MidiOutSubmitPlaybackBuffer(HANDLE hMidiOut, DWORD pbBuffer, DWORD cbBuffer, DWORD msStartTime,
|
|
DWORD rtStartTimeLow, DWORD rtStartTimeHigh);
|
|
|
|
extern MMRESULT PASCAL MidiInSetEventHandle(HANDLE hMidiIn, DWORD hEvent);
|
|
extern MMRESULT PASCAL MidiInRead(HANDLE hMidiIn, DWORD pbBuffer, DWORD *cbBuffer, DWORD *msStartTime);
|
|
extern MMRESULT PASCAL MidiInThru(HANDLE hMidiIn, DWORD dwFrom, DWORD dwTo, HANDLE hMidiOut);
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif
|