The FAX_PERSONAL_PROFILEW structure contains information describing one personal profile (section 3.1.1). This structure is used by FAX_GetPersonalProfileInfo (section 3.1.4.1.50) to return information about the personal profile of the sender or the recipient of a fax message. This structure is also used to specify the sender’s and the receiver’s personal profiles for FAX_SendDocumentEx (section 3.1.4.1.73). This structure is described below.

This data structure is custom marshaled as follows and uses the custom-marshaling rules defined in section 2.2.1.

All fields of this structure except dwSizeOfStruct in the Fixed_Portion block are optional. If the respective information is not available, the offset fields in the Fixed_Portion block MUST be zero.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Fixed_Portion (68 bytes)

...

...

...

Variable_Data (variable)

...

Fixed_Portion (68 bytes):


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

dwSizeOfStruct

lpwstrNameOffset

lpwstrFaxNumberOffset

lpwstrCompanyOffset

lpwstrStreetAddressOffset

lpwstrCityOffset

lpwstrStateOffset

lpwstrZipOffset

lpwstrCountryOffset

lpwstrTitleOffset

lpwstrDepartmentOffset

lpwstrOfficeLocationOffset

lpwstrHomePhoneOffset

lpwstrOfficePhoneOffset

lpwstrEmailOffset

lpwstrBillingCodeOffset

lpwstrTSIDOffset

dwSizeOfStruct (4 bytes): A DWORD ([MS-DTYP] section 2.2.9) value that holds the size of the Fixed_Portion block, in bytes. This value MUST be 68 bytes.

lpwstrNameOffset (4 bytes): Offset to the lpwstrName field in the Variable_Data portion of the structure.

lpwstrFaxNumberOffset (4 bytes): Offset to the lpwstrFaxNumber field in the Variable_Data portion of the structure.

lpwstrCompanyOffset (4 bytes): Offset to the lpwstrCompany field in the Variable_Data portion of the structure.

lpwstrStreetAddressOffset (4 bytes): Offset to the lpwstrStreetAddress field in the Variable_Data portion of the structure.

lpwstrCityOffset (4 bytes): Offset to the lpwstrCity field in the Variable_Data portion of the structure.

lpwstrStateOffset (4 bytes): Offset to the lpwstrState field in the Variable_Data portion of the structure.

lpwstrZipOffset (4 bytes): Offset to the lpwstrZip field in the Variable_Data portion of the structure.

lpwstrCountryOffset (4 bytes): Offset to the lpwstrCountry field in the Variable_Data portion of the structure.

lpwstrTitleOffset (4 bytes): Offset to the lpwstrTitle field in the Variable_Data portion of the structure.

lpwstrDepartmentOffset (4 bytes): Offset to the lpwstrDepartment field in the Variable_Data portion of the structure.

lpwstrOfficeLocationOffset (4 bytes): Offset to the lpwstrOfficeLocation field in the Variable_Data portion of the structure.

lpwstrHomePhoneOffset (4 bytes): Offset to the lpwstrHomePhone field in the Variable_Data portion of the structure.

lpwstrOfficePhoneOffset (4 bytes): Offset to the lpwstrOfficePhone field in the Variable_Data portion of the structure.

lpwstrEmailOffset (4 bytes): Offset to the lpwstrEmail field in the Variable_Data portion of the structure.

lpwstrBillingCodeOffset (4 bytes): Offset to the lpwstrBillingCode field in the Variable_Data portion of the structure.

lpwstrTSIDOffset (4 bytes): Offset to the lpwstrTSID field in the Variable_Data portion of the structure.

Variable_Data (variable):


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

lpwstrName (variable)

...

...

...

lpwstrFaxNumber (variable)

...

...

...

lpwstrCompany (variable)

...

...

...

lpwstrStreetAddress (variable)

...

...

...

lpwstrCity (variable)

...

...

...

lpwstrState (variable)

...

...

...

lpwstrZip (variable)

...

...

...

lpwstrCountry (variable)

...

...

...

lpwstrTitle (variable)

...

...

...

lpwstrDepartment (variable)

...

...

...

lpwstrOfficeLocation (variable)

...

...

...

lpwstrHomePhone (variable)

...

...

...

lpwstrOfficePhone (variable)

...

...

...

lpwstrEmail (variable)

...

...

...

lpwstrBillingCode (variable)

...

...

...

lpwstrTSID (variable)

...

...

...

lpwstrName (variable): Null-terminated character string containing the recipient or sender name.

lpwstrFaxNumber (variable): Null-terminated character string containing the fax number associated with this profile.

lpwstrCompany (variable): Null-terminated character string containing the name of the company for which the person associated with this profile works.

lpwstrStreetAddress (variable): Null-terminated character string containing the street address associated with this profile.

lpwstrCity (variable): Null-terminated character string containing the name of the city associated with this profile.

lpwstrState (variable): Null-terminated character string containing the name of the state associated with this profile.

lpwstrZip (variable): Null-terminated character string containing the ZIP code associated with this profile.

lpwstrCountry (variable): Null-terminated character string containing the name of the country/region associated with this profile.

lpwstrTitle (variable): Null-terminated character string containing the title of the person associated with this profile.

lpwstrDepartment (variable): Null-terminated character string containing the name of the department in which the person associated with this profile works.

lpwstrOfficeLocation (variable): Null-terminated character string containing the office location of the person associated with this profile.

lpwstrHomePhone (variable): Null-terminated character string containing the home telephone number of the person associated with this profile.

lpwstrOfficePhone (variable): Null-terminated character string containing the office telephone number of the person associated with this profile.

lpwstrEmail (variable): Null-terminated character string containing the email address of the person associated with this profile.

lpwstrBillingCode (variable): Null-terminated character string containing the billing code associated with this profile.

lpwstrTSID (variable): Null-terminated character string containing the transmitting subscriber identifier (TSID) associated with this profile.