2.2.24 FAX_ACCOUNT_INFO_0

A FAX_ACCOUNT_INFO_0 structure describes one Fax User Account. An array of the FAX_ACCOUNT_INFO_0 data type can be passed as an out parameter (as a byte array) in a FAX_EnumAccounts (section 3.1.4.1.18) call. This data type can also be passed as an out parameter (as a byte array) in a FAX_GetAccountInfo (section 3.1.4.1.32) call and as an in parameter in a FAX_CreateAccount (section 3.1.4.1.12) call.

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


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

...

Variable_Data (variable)

...

Fixed_Portion (8 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

lpcwstrAccountNameOffset

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 8 bytes.

lpcwstrAccountNameOffset (4 bytes): Offset to the lpcwstrAccountName field in the Variable_Data block 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

lpcwstrAccountName (variable)

...

lpcwstrAccountName (variable): A null-terminated character string that holds the name of the fax account. The account name that lpcwstrAccountName indicates MUST be in one of the following formats.

Format

Description

<machine_name>\<user_name>

For a local user with machine_name as the local machine's name.

<domain_name>\<user_name>

For a remote (not local) user.