5 #define DRVERR_INVALID_PARAM DRVERR-1
\r
6 #define DRVERR_DEVICE_ALREADY_OPEN DRVERR-2
\r
7 #define DRVERR_DEVICE_NOT_FOUND DRVERR-3
\r
9 #define MAXPATHLEN 512
\r
10 #define MAXDRVNAMELEN 128
\r
12 struct asiodrvstruct
\r
16 char dllpath[MAXPATHLEN];
\r
17 char drvname[MAXDRVNAMELEN];
\r
19 struct asiodrvstruct *next;
\r
22 typedef struct asiodrvstruct ASIODRVSTRUCT;
\r
23 typedef ASIODRVSTRUCT *LPASIODRVSTRUCT;
\r
25 class AsioDriverList {
\r
30 LONG asioOpenDriver (int,VOID **);
\r
31 LONG asioCloseDriver (int);
\r
34 LONG asioGetNumDev (VOID);
\r
35 LONG asioGetDriverName (int,char *,int);
\r
36 LONG asioGetDriverPath (int,char *,int);
\r
37 LONG asioGetDriverCLSID (int,CLSID *);
\r
39 // or use directly access
\r
40 LPASIODRVSTRUCT lpdrvlist;
\r
44 typedef class AsioDriverList *LPASIODRIVERLIST;
\r