2961
|
1 #ifdef __cplusplus
|
|
2 extern "C" {
|
|
3 #endif
|
|
4
|
|
5 typedef int (PASCAL * LPFNGETLIB_XSFDRV)(void *lpWork, LPSTR lpszFilename, void **ppBuffer, DWORD *pdwSize);
|
|
6 typedef struct
|
|
7 {
|
|
8 void * (PASCAL * LibAlloc)(DWORD dwSize);
|
|
9 void (PASCAL * LibFree)(void *lpPtr);
|
|
10 int (PASCAL * Start)(void *lpPtr, DWORD dwSize);
|
|
11 void (PASCAL * Gen)(void *lpPtr, DWORD dwSamples);
|
|
12 void (PASCAL * Term)(void);
|
|
13 } IXSFDRV;
|
|
14
|
|
15 typedef IXSFDRV * (PASCAL * LPFNXSFDRVSETUP)(LPFNGETLIB_XSFDRV lpfn, void *lpWork);
|
|
16 /* IXSFDRV * PASCAL XSFDRVSetup(LPFNGETLIB_XSFDRV lpfn, void *lpWork); */
|
|
17
|
|
18 #ifdef __cplusplus
|
|
19 }
|
|
20 #endif
|
|
21
|