diff options
author | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
---|---|---|
committer | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
commit | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/burnlib/main.h | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
Diffstat (limited to 'Src/burnlib/main.h')
-rw-r--r-- | Src/burnlib/main.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Src/burnlib/main.h b/Src/burnlib/main.h new file mode 100644 index 00000000..2daa3d50 --- /dev/null +++ b/Src/burnlib/main.h @@ -0,0 +1,30 @@ +#pragma once + +#include <windows.h> + +#ifdef BURNLIB_EXPORTS + #define BURNLIB_API //__declspec(dllexport) +#else + #define BURNLIB_API //__declspec(dllimport) +#endif + +extern HINSTANCE dllInstance; +extern HMODULE hResource; +extern HWND winampWnd; + +#include <api/service/api_service.h> +#include <api/service/waServiceFactory.h> +#include "../Agave/Language/api_language.h" +#include "./primosdk.h" +//library Initialization +BURNLIB_API void InitializeBurningLibrary(api_service *wasabiServiceManager, HINSTANCE, HWND); + +// text values (englsih) +BURNLIB_API wchar_t* GetMediumText(wchar_t *buffer, unsigned int cchBuffer, DWORD medium); +BURNLIB_API wchar_t* GetMediumTypeText(wchar_t *buffer, unsigned int cchBuffer, DWORD type); +BURNLIB_API wchar_t* GetMediumFormatText(wchar_t *buffer, unsigned int cchBuffer, DWORD format); +BURNLIB_API wchar_t* GetUnitStatusText(wchar_t *buffer, unsigned int cchBuffer, DWORD sense, DWORD asc, DWORD ascq); +BURNLIB_API wchar_t* GetTrackTypeText(wchar_t *buffer, unsigned int cchBuffer, DWORD trackType); +BURNLIB_API wchar_t* GetPrimoCodeText(wchar_t *buffer, unsigned int cchBuffer, DWORD primoCode); +BURNLIB_API wchar_t* GetBussText(wchar_t *buffer, unsigned int cchBuffer, DWORD bussType); +wchar_t* GetTimeString(wchar_t *string, unsigned int cchLen, unsigned int timesec);
\ No newline at end of file |