summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshfil <filip.gawin@zoho.com>2020-12-30 01:37:31 +0100
committerGitHub <noreply@github.com>2020-12-30 01:37:31 +0100
commit0b3690a59c72d2eeb6e96bd14d3747c1d83b6f37 (patch)
treedad5218b67a2baac3e3062a71c9f23c0a8c74ad9
parentfoobar! (diff)
downloadre3-0b3690a59c72d2eeb6e96bd14d3747c1d83b6f37.tar
re3-0b3690a59c72d2eeb6e96bd14d3747c1d83b6f37.tar.gz
re3-0b3690a59c72d2eeb6e96bd14d3747c1d83b6f37.tar.bz2
re3-0b3690a59c72d2eeb6e96bd14d3747c1d83b6f37.tar.lz
re3-0b3690a59c72d2eeb6e96bd14d3747c1d83b6f37.tar.xz
re3-0b3690a59c72d2eeb6e96bd14d3747c1d83b6f37.tar.zst
re3-0b3690a59c72d2eeb6e96bd14d3747c1d83b6f37.zip
-rw-r--r--vendor/milessdk/include/mss.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/milessdk/include/mss.h b/vendor/milessdk/include/mss.h
index 38371eb9..424fc6e4 100644
--- a/vendor/milessdk/include/mss.h
+++ b/vendor/milessdk/include/mss.h
@@ -114,3 +114,17 @@ DLLEXPORT void WINAPI AIL_set_stream_ms_position(HSTREAM S, S32 milliseconds);
DLLEXPORT void WINAPI AIL_set_stream_volume(HSTREAM stream, S32 volume);
DLLEXPORT void WINAPI AIL_set_stream_pan(HSTREAM stream, S32 pan);
DLLEXPORT S32 WINAPI AIL_stream_status(HSTREAM stream);
+
+typedef U32(WINAPI* AIL_file_open_callback)(char const * Filename, U32 * FileHandle);
+
+typedef void (WINAPI* AIL_file_close_callback) (U32 FileHandle);
+
+#define AIL_FILE_SEEK_BEGIN 0
+#define AIL_FILE_SEEK_CURRENT 1
+#define AIL_FILE_SEEK_END 2
+
+typedef S32(WINAPI* AIL_file_seek_callback) (U32 FileHandle, S32 Offset, U32 Type);
+
+typedef U32(WINAPI* AIL_file_read_callback) (U32 FileHandle, void* Buffer, U32 Bytes);
+
+DLLEXPORT void WINAPI AIL_set_file_callbacks(AIL_file_open_callback opencb, AIL_file_close_callback closecb, AIL_file_seek_callback seekcb, AIL_file_read_callback readcb);