3 #include "devvol_local.h"
6 FILE_ERR DevVol_AddDevice(C_DEVVOL *self, const char *pszName, struct c_drvobj *pDrvObj)
11 for ( i = 0; i < DEVVOL_MAX_DEVICE; i++ )
13 if ( self->DevTable[i].pDrvObj == NULL )
15 strcpy(self->DevTable[i].szName, pszName);
16 self->DevTable[i].pDrvObj = pDrvObj;