bool SdbAppendDirs ( char* szC_DISK, char* szC_DIR ) { // initialize a record and fill in its fields DBIEXEC ( DbiInitRecord ( hDirs, pszRecBufDirs ) ); DBIEXEC ( DbiPutField ( hDirs, 1, pszRecBufDirs, ( pBYTE ) szC_DISK ) ); DBIEXEC ( DbiPutField ( hDirs, 2, pszRecBufDirs, ( pBYTE ) szC_DIR ) ); DBIEXEC ( DbiPutField ( hDirs, 3, pszRecBufDirs, ( pBYTE ) szR_OGGI ) ); // append a record and replace its fields DBIEXEC ( DbiAppendRecord ( hDirs, pszRecBufDirs ) ); return ( ErrorFlag ); }