wineacm.h
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:2k
源码类别:

midi

开发平台:

Unix_Linux

  1. #ifndef WINEACM_H
  2. #define WINEACM_H
  3. /* -*- tab-width: 8; c-basic-offset: 4 -*- */
  4. /***********************************************************************
  5.  * Wine specific - Win32
  6.  */
  7. #include "wine/msacmdrv.h"
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif /* defined(__cplusplus) */
  11. typedef struct _WINE_ACMDRIVERID *PWINE_ACMDRIVERID;
  12. typedef struct _WINE_ACMDRIVER   *PWINE_ACMDRIVER;
  13. typedef struct _WINE_ACMOBJ
  14. {
  15.   PWINE_ACMDRIVERID pACMDriverID;
  16. } WINE_ACMOBJ, *PWINE_ACMOBJ;
  17. typedef struct _WINE_ACMDRIVER
  18. {
  19.     WINE_ACMOBJ obj;
  20.     HDRVR       hDrvr;
  21.     DRIVERPROC pfnDriverProc;
  22.     PWINE_ACMDRIVER pNextACMDriver;
  23.     int                 iUsage;
  24. } WINE_ACMDRIVER;
  25. typedef struct _WINE_ACMSTREAM
  26. {
  27.     WINE_ACMOBJ obj;
  28.     PWINE_ACMDRIVER pDrv;
  29.     ACMDRVSTREAMINSTANCE drvInst;
  30.     HACMDRIVER hAcmDriver;
  31. } WINE_ACMSTREAM, *PWINE_ACMSTREAM;
  32. typedef struct _WINE_ACMDRIVERID
  33. {
  34.     LPSTR               pszFileName;
  35.     WORD wFormatTag;
  36.     HINSTANCE hInstModule;          /* NULL if global */
  37.     DWORD dwProcessID;       /* ID of process which installed a local driver */
  38.     WIN_BOOL                bEnabled;
  39.     PWINE_ACMDRIVER     pACMDriverList;
  40.     PWINE_ACMDRIVERID   pNextACMDriverID;
  41.     PWINE_ACMDRIVERID pPrevACMDriverID;
  42. } WINE_ACMDRIVERID;
  43. /* From internal.c */
  44. extern HANDLE MSACM_hHeap;
  45. extern PWINE_ACMDRIVERID MSACM_pFirstACMDriverID;
  46. extern PWINE_ACMDRIVERID MSACM_pLastACMDriverID;
  47. PWINE_ACMDRIVERID MSACM_RegisterDriver(const char* pszFileName,
  48.        WORD wFormatTag,
  49.        HINSTANCE hinstModule);
  50. PWINE_ACMDRIVERID MSACM_UnregisterDriver(PWINE_ACMDRIVERID p);
  51. void MSACM_UnregisterAllDrivers(void);
  52. PWINE_ACMDRIVERID MSACM_GetDriverID(HACMDRIVERID hDriverID);
  53. PWINE_ACMDRIVER MSACM_GetDriver(HACMDRIVER hDriver);
  54. PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj);
  55. #ifdef __cplusplus
  56. } /* extern "C" */
  57. #endif /* defined(__cplusplus) */
  58. #endif /* WINEACM_H */