30#define ABF_INVALID_HANDLE NULL
37#define ABF_EUNKNOWNFILETYPE 1001
38#define ABF_EBADFILEINDEX 1002
39#define ABF_TOOMANYFILESOPEN 1003
40#define ABF_EOPENFILE 1004
41#define ABF_EBADPARAMETERS 1005
42#define ABF_EREADDATA 1006
43#define ABF_OUTOFMEMORY 1008
44#define ABF_EREADSYNCH 1009
45#define ABF_EBADSYNCH 1010
46#define ABF_EEPISODERANGE 1011
47#define ABF_EINVALIDCHANNEL 1012
48#define ABF_EEPISODESIZE 1013
49#define ABF_EREADONLYFILE 1014
50#define ABF_EDISKFULL 1015
51#define ABF_ENOTAGS 1016
52#define ABF_EREADTAG 1017
53#define ABF_ENOSYNCHPRESENT 1018
54#define ABF_EREADDACEPISODE 1019
55#define ABF_ENOWAVEFORM 1020
56#define ABF_EBADWAVEFORM 1021
57#define ABF_BADMATHCHANNEL 1022
58#define ABF_BADTEMPFILE 1023
59#define ABF_NODOSFILEHANDLES 1025
60#define ABF_ENOSCOPESPRESENT 1026
61#define ABF_EREADSCOPECONFIG 1027
62#define ABF_EBADCRC 1028
63#define ABF_ENOCOMPRESSION 1029
64#define ABF_EREADDELTA 1030
65#define ABF_ENODELTAS 1031
66#define ABF_EBADDELTAID 1032
67#define ABF_EWRITEONLYFILE 1033
68#define ABF_ENOSTATISTICSCONFIG 1034
69#define ABF_EREADSTATISTICSCONFIG 1035
70#define ABF_EWRITERAWDATAFILE 1036
71#define ABF_EWRITEMATHCHANNEL 1037
72#define ABF_EWRITEANNOTATION 1038
73#define ABF_EREADANNOTATION 1039
74#define ABF_ENOANNOTATIONS 1040
75#define ABF_ECRCVALIDATIONFAILED 1041
78#define ABF_NVOICETAGSTART 2000
79#define ABF_NWRITEVOICETAG 2001
80#define ABF_NVOICETAGEND 2002
84#define ABF_PARAMFILE 1
85#define ABF_ALLOWOVERLAP 2
94#define ABF_MAXTAGFORMATLEN 84
97#define ABF_AVERAGESWEEPSTART DWORD(-1)
108 UINT *puMaxSamples,
DWORD *pdwMaxEpi,
int *pnError );
122 void *pvBuffer,
UINT uBufferSize,
UINT *puSizeInSamples,
int *pnError);
124 void *pvBuffer,
UINT uBufferSize,
UINT *puSizeInSamples,
int *pnError);
180 UINT *puNumSamples,
int *pnError);
182 UINT *puNumSamples,
int *pnError);
268#define ERRORRETURN(p, e) return ErrorReturn(p, e);
BOOL WINAPI ABF2_SetChunkSize(int hFile, ABF2FileHeader *pFH, UINT *puMaxSamples, DWORD *pdwMaxEpi, int *pnError)
BOOL WINAPI ABF_MultiplexRead(int nFile, const ABFFileHeader *pFH, DWORD dwEpisode, void *pvBuffer, UINT uBufferSize, UINT *puSizeInSamples, int *pnError)
BOOL WINAPI ABF2_MultiplexRead(int nFile, const ABF2FileHeader *pFH, DWORD dwEpisode, void *pvBuffer, UINT uBufferSize, UINT *puSizeInSamples, int *pnError)
BOOL WINAPI ABF2_ReadChannel(int nFile, const ABF2FileHeader *pFH, int nChannel, DWORD dwEpisode, Vector_float &pfBuffer, UINT *puNumSamples, int *pnError)
BOOL WINAPI ABF_BuildErrorText(int nErrorNum, const char *szFileName, char *sTxtBuf, UINT uMaxLen)
BOOL WINAPI ABF_GetNumSamples(int nFile, const ABFFileHeader *pFH, DWORD dwEpisode, UINT *puNumSamples, int *pnError)
BOOL WINAPI ABF2_GetNumSamples(int nFile, const ABF2FileHeader *pFH, DWORD dwEpisode, UINT *puNumSamples, int *pnError)
BOOL WINAPI ABF_ReadOpen(LPCTSTR szFileName, int *phFile, UINT fFlags, ABFFileHeader *pFH, UINT *puMaxSamples, DWORD *pdwMaxEpi, int *pnError)
BOOL WINAPI ABF_HasData(int nFile, const ABFFileHeader *pFH)
BOOL WINAPI ABF_ReadChannel(int nFile, const ABFFileHeader *pFH, int nChannel, DWORD dwEpisode, Vector_float &pfBuffer, UINT *puNumSamples, int *pnError)
BOOL WINAPI ABF_Close(int nFile, int *pnError)
std::vector< float > Vector_float