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.
|
|
#define COUNTRY_CODE_SIZE 10
#define AREA_CODE_SIZE 10
#define TELEPHONE_NUMBER_SIZE 50
#define ROUTING_NAME_SIZE 150
#define CANONICAL_NUMBER_SIZE (10+COUNTRY_CODE_SIZE+AREA_CODE_SIZE+TELEPHONE_NUMBER_SIZE+ROUTING_NAME_SIZE)
typedef struct tagPARSEDTELNUMBER { TCHAR szCountryCode[COUNTRY_CODE_SIZE+1]; // country code
TCHAR szAreaCode[AREA_CODE_SIZE+1]; // area code
TCHAR szTelNumber[TELEPHONE_NUMBER_SIZE+1]; // telephone number
TCHAR szRoutingName[ROUTING_NAME_SIZE+1]; // routing name within the tel number destination
} PARSEDTELNUMBER, *LPPARSEDTELNUMBER;
BOOL EncodeFaxAddress(LPTSTR lpszFaxAddr, LPPARSEDTELNUMBER lpParsedFaxAddr); BOOL DecodeFaxAddress(LPTSTR lpszFaxAddr, LPPARSEDTELNUMBER lpParsedFaxAddr);
/*
* Function pointer prototypes for fax config functions */ typedef BOOL (* PFN_DECODE_FAX_ADDRESS)(LPTSTR lpszFaxAddr, LPPARSEDTELNUMBER lpParsedFaxAddr); typedef BOOL (* PFN_ENCODE_FAX_ADDRESS)(LPTSTR lpszFaxAddr, LPPARSEDTELNUMBER lpParsedFaxAddr);
#define FAXCFG_DECODE_FAX_ADDRESS TEXT("DecodeFaxAddress")
#define FAXCFG_ENCODE_FAX_ADDRESS TEXT("EncodeFaxAddress")
#define FAXCFG_DLL TEXT("awfxcg32.dll")
|