2.2.2.15.2 WSD_BACKUP_PORT_DATA

The WSD_BACKUP_PORT_DATA structure specifies information about the Web Services for Devices (WSD) backup port.


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)

...

...

...

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 initially discovered by using multicast discovery.

kDirected

0x00000001

The WSD port was initially discovered by using directed discovery.

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

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 a NULL pointer.