Source code of Windows XP (NT5)
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.

45 lines
1.4 KiB

  1. // Emailstr.h
  2. #ifndef __EmailstrH__
  3. #define __EmailstrH__
  4. bool IsEMail(LPCWSTR pwszName);
  5. // [email protected] -> a%b.com (stored internally)
  6. void EMail2Name(CStringW & cwszName);
  7. // A thin wrapper of the previous function
  8. void EMail2Name(LPCWSTR pszwSrc, CStringW &szwDest);
  9. // A thin wrapper of the previous function
  10. void EMail2Name(LPCWSTR pszwSrc, CComBSTR &bstrDest);
  11. // a%b.com <- [email protected] (stored internally)
  12. void Name2EMail(CStringW & cwszName);
  13. // A thin wrapper of the previous function
  14. void Name2EMail(LPCWSTR pszwSrc, CStringW &szwDest);
  15. // A thin wrapper of the previous function
  16. void Name2EMail(LPCWSTR pszwSrc, CComBSTR &bstrDest);
  17. // a%[email protected] -> [email protected]
  18. // [email protected] -> [email protected]
  19. void Name2AltName(LPCWSTR pwszName, CStringW & cwszAltname);
  20. // a%[email protected] -> [email protected]
  21. // [email protected] -> [email protected]
  22. void InternalName2Name(LPCWSTR pwszName, CStringW & cwszName);
  23. void EMail2Domain(LPCWSTR pwszName, CStringW & cwszDomain);
  24. void EMail2Login(LPCWSTR pwszName, CStringW & cwszLogin);
  25. // [email protected] -> FALSE
  26. // [email protected] -> TRUE
  27. BOOL IsEASI(LPCWSTR pwszName);
  28. // [email protected] -> [email protected]
  29. // [email protected] -> a%[email protected]
  30. void Name2InternalName(LPCWSTR pwszName, CStringW& cwszName);
  31. void Reduce2MSN(LPCWSTR pwszName, CStringW & cszwName);
  32. // A thin wrapper of the previous function
  33. void Reduce2MSN(LPCWSTR pwszName, CComBSTR & bstrName);
  34. #endif