Source code of Windows XP (NT5)
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

  1. // Copyright (c) 1998 Microsoft Corporation
  2. /*
  3. * Prototypes for thunked functions between DMusic32.dll and DMusic16.dll
  4. */
  5. #ifndef _DMTHUNK_
  6. #define _DMTHUNK_
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. extern void PASCAL dmUntileBuffer(DWORD dwTilingInfo);
  11. extern DWORD PASCAL dmTileBuffer(DWORD dwFlatMemory, DWORD dwLength);
  12. extern MMRESULT PASCAL OpenLegacyDevice(DWORD dwId, BOOL fIsOutput, BOOL fShare, HANDLE *pHandle);
  13. extern MMRESULT PASCAL CloseLegacyDevice(HANDLE h);
  14. extern MMRESULT PASCAL ActivateLegacyDevice(HANDLE h, DWORD fActivate);
  15. extern MMRESULT PASCAL MidiOutSubmitPlaybackBuffer(HANDLE hMidiOut, DWORD pbBuffer, DWORD cbBuffer, DWORD msStartTime,
  16. DWORD rtStartTimeLow, DWORD rtStartTimeHigh);
  17. extern MMRESULT PASCAL MidiInSetEventHandle(HANDLE hMidiIn, DWORD hEvent);
  18. extern MMRESULT PASCAL MidiInRead(HANDLE hMidiIn, DWORD pbBuffer, DWORD *cbBuffer, DWORD *msStartTime);
  19. extern MMRESULT PASCAL MidiInThru(HANDLE hMidiIn, DWORD dwFrom, DWORD dwTo, HANDLE hMidiOut);
  20. #ifdef __cplusplus
  21. };
  22. #endif
  23. #endif