infoWidget.h 688 B

123456789101112131415161718192021222324252627
  1. #ifndef _NULLSOFT_WINAMP_ML_DEVICES_INFO_WIDGET_HEADER
  2. #define _NULLSOFT_WINAMP_ML_DEVICES_INFO_WIDGET_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <wtypes.h>
  7. #define WIDGET_TYPE_UNKNOWN 0
  8. #define WIDGET_TYPE_WELCOME 1
  9. #define WIDGET_TYPE_SERVICE_ERROR 2
  10. #define WIDGET_TYPE_VIEW_ERROR 3
  11. HWND InfoWidget_CreateWindow(unsigned int type,
  12. const wchar_t *title,
  13. const wchar_t *text,
  14. const wchar_t *imagePath,
  15. HWND parentWindow,
  16. int x,
  17. int y,
  18. int width,
  19. int height,
  20. BOOL border,
  21. unsigned int controlId);
  22. #endif //_NULLSOFT_WINAMP_ML_DEVICES_INFO_WIDGET_HEADER