共用方式為


2.2.2.16.2 APMON_BACKUP_PORT_DATA

The APMON_BACKUP_PORT_DATA structure specifies backup information that can be used to restore an APMON port.<141>


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

WsdPortBackupSize

IppPortBackupSize

IppBackupDataOffset

BackupData (variable)

...

...

...

WsdPortBackupSize (4 bytes): A 32-bit unsigned integer that specifies the size of the backup data for the WSD protocol object of the APMON port. A value of zero means there is no WSD backup data.

IppPortBackupSize (4 bytes): A 32-bit unsigned integer that specifies the size of the backup data for the IPP protocol object of the APMON port. A value of zero means there is no IPP backup data.

IppBackupDataOffset (4 bytes): A 32-bit unsigned integer that specifies an offset into the BackupData buffer to the start of the IPP backup data. If there is no WSD backup data, this value SHOULD be zero.

BackupData (variable): A variable size buffer of data that represents the information required to restore an APMON port. This buffer will contain data for either a WSD print device or an IPP print device. The total size of the buffer will be at least as large as the sum of WsdPortBackupSize and IppPortBackupSize.