main.h 1.3 KB

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #include <windows.h>
  3. #ifdef BURNLIB_EXPORTS
  4. #define BURNLIB_API //__declspec(dllexport)
  5. #else
  6. #define BURNLIB_API //__declspec(dllimport)
  7. #endif
  8. extern HINSTANCE dllInstance;
  9. extern HMODULE hResource;
  10. extern HWND winampWnd;
  11. #include <api/service/api_service.h>
  12. #include <api/service/waServiceFactory.h>
  13. #include "../Agave/Language/api_language.h"
  14. #include "./primosdk.h"
  15. //library Initialization
  16. BURNLIB_API void InitializeBurningLibrary(api_service *wasabiServiceManager, HINSTANCE, HWND);
  17. // text values (englsih)
  18. BURNLIB_API wchar_t* GetMediumText(wchar_t *buffer, unsigned int cchBuffer, DWORD medium);
  19. BURNLIB_API wchar_t* GetMediumTypeText(wchar_t *buffer, unsigned int cchBuffer, DWORD type);
  20. BURNLIB_API wchar_t* GetMediumFormatText(wchar_t *buffer, unsigned int cchBuffer, DWORD format);
  21. BURNLIB_API wchar_t* GetUnitStatusText(wchar_t *buffer, unsigned int cchBuffer, DWORD sense, DWORD asc, DWORD ascq);
  22. BURNLIB_API wchar_t* GetTrackTypeText(wchar_t *buffer, unsigned int cchBuffer, DWORD trackType);
  23. BURNLIB_API wchar_t* GetPrimoCodeText(wchar_t *buffer, unsigned int cchBuffer, DWORD primoCode);
  24. BURNLIB_API wchar_t* GetBussText(wchar_t *buffer, unsigned int cchBuffer, DWORD bussType);
  25. wchar_t* GetTimeString(wchar_t *string, unsigned int cchLen, unsigned int timesec);