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

// Emailstr.h
#ifndef __EmailstrH__
#define __EmailstrH__
bool IsEMail(LPCWSTR pwszName);
// [email protected] -> a%b.com (stored internally)
void EMail2Name(CStringW & cwszName);
// A thin wrapper of the previous function
void EMail2Name(LPCWSTR pszwSrc, CStringW &szwDest);
// A thin wrapper of the previous function
void EMail2Name(LPCWSTR pszwSrc, CComBSTR &bstrDest);
// a%b.com <- [email protected] (stored internally)
void Name2EMail(CStringW & cwszName);
// A thin wrapper of the previous function
void Name2EMail(LPCWSTR pszwSrc, CStringW &szwDest);
// A thin wrapper of the previous function
void Name2EMail(LPCWSTR pszwSrc, CComBSTR &bstrDest);
// a%[email protected] -> [email protected]
// [email protected] -> [email protected]
void Name2AltName(LPCWSTR pwszName, CStringW & cwszAltname);
// a%[email protected] -> [email protected]
// [email protected] -> [email protected]
void InternalName2Name(LPCWSTR pwszName, CStringW & cwszName);
void EMail2Domain(LPCWSTR pwszName, CStringW & cwszDomain);
void EMail2Login(LPCWSTR pwszName, CStringW & cwszLogin);
// [email protected] -> FALSE
// [email protected] -> TRUE
BOOL IsEASI(LPCWSTR pwszName);
// [email protected] -> [email protected]
// [email protected] -> a%[email protected]
void Name2InternalName(LPCWSTR pwszName, CStringW& cwszName);
void Reduce2MSN(LPCWSTR pwszName, CStringW & cszwName);
// A thin wrapper of the previous function
void Reduce2MSN(LPCWSTR pwszName, CComBSTR & bstrName);
#endif