Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
877 B

  1. #ifndef __CHANNELS_H_
  2. #define __CHANNELS_H_
  3. #include <wininet.h>
  4. typedef struct tag_channelA
  5. {
  6. CHAR szTitle[MAX_PATH];
  7. CHAR szWebUrl[INTERNET_MAX_URL_LENGTH];
  8. CHAR szPreUrlPath[MAX_PATH];
  9. CHAR szIcon[MAX_PATH];
  10. CHAR szLogo[MAX_PATH];
  11. BOOL fCategory;
  12. BOOL fOffline;
  13. HWND hDlg;
  14. } CHANNELA, *PCHANNELA;
  15. typedef struct tag_channelW
  16. {
  17. WCHAR szTitle[MAX_PATH];
  18. WCHAR szWebUrl[INTERNET_MAX_URL_LENGTH];
  19. WCHAR szPreUrlPath[MAX_PATH];
  20. WCHAR szIcon[MAX_PATH];
  21. WCHAR szLogo[MAX_PATH];
  22. BOOL fCategory;
  23. BOOL fOffline;
  24. HWND hDlg;
  25. } CHANNELW, *PCHANNELW;
  26. // TCHAR mappings
  27. #ifdef UNICODE
  28. #define CHANNEL CHANNELW
  29. #define PCHANNEL PCHANNELW
  30. #else
  31. #define CHANNEL CHANNELA
  32. #define PCHANNEL PCHANNELA
  33. #endif
  34. #endif