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.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
DiscoveryMethod |
|||||||||||||||||||||||||||||||
|
GlobalID (2048 bytes) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
RemoteURL (2048 bytes) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
DiscoveryMethod (4 bytes): A 32-bit unsigned integer that specifies how the WSD port was initially discovered.
-
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.