Partager via


2.2.2.15.3 WSD_BACKUP_PORT_DATA_EX

The WSD_BACKUP_PORT_DATA_EX structure specifies information to restore for the Web Services for Devices (WSD) port.<139>


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

DiscoveryMethod

GlobalID (2048 bytes)

...

...

...

ServiceID (2048 bytes)

...

...

...

RemoteURL (2048 bytes)

...

...

...

DiscoveryMethod (4 bytes): A 32-bit unsigned integer that specifies how the WSD port was initially discovered. Possible values are in the following table.

Name/value

Description

kMulticast

0x00000000

The WSD port was discovered by using multicast discovery.

kDirected

0x00000001

The WSD port was discovered by using directed discovery.

GlobalID (2048 bytes): A null-terminated Unicode string that specifies the PKEY_PNPX_GlobalIdentify of the device attached to the WSD port.

ServiceID (2048 bytes): A null-terminated Unicode string that specifies the PKEY_PNPX_ServiceId of the WS-Print printer service within the device represented by the WSD port.

RemoteURL (2048 bytes): A null-terminated Unicode string which, if DiscoveryMethod is kDirected, specifies the URL of the device attached to the WSD port; otherwise, this field MUST be NULL.