description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Describes the notification passed to the WFD\_DISPLAY\_SINK\_NOTIFICATION\_CALLBACK function. |
1CB91DD9-5B58-4FE0-B7B0-E6189760511A |
WFD_DISPLAY_SINK_NOTIFICATION structure (Wfdsink.h) |
reference |
05/31/2018 |
|
|
|
|
The WFD_DISPLAY_SINK_NOTIFICATION structure describes the notification passed to the WFD_DISPLAY_SINK_NOTIFICATION_CALLBACK function.
typedef struct _WFD_DISPLAY_SINK_NOTIFICATION {
WFD_DISPLAY_SINK_OBJECT_HEADER Header;
WFD_DISPLAY_SINK_NOTIFICATION_TYPE type;
WCHAR strRemoteDeviceName[WFD_SINK_MAX_DEVICE_NAME_LENGTH + 1];
DOT11_MAC_ADDRESS RemoteDeviceAddress;
union {
struct {
HANDLE hSessionHandle;
DOT11_WPS_CONFIG_METHOD PossibleConfigMethods;
} ProvisioningRequestInfo;
struct {
DOT11_WFD_GROUP_ID GroupID;
} ReconnectRequestInfo;
struct {
HANDLE hSessionHandle;
GUID guidSessionInterface;
DOT11_WFD_GROUP_ID GroupID;
PWSTR strProfile;
SOCKADDR_STORAGE LocalAddress;
SOCKADDR_STORAGE RemoteAddress;
USHORT uRTSPPort;
} ConnectedInfo;
};
} WFD_DISPLAY_SINK_NOTIFICATION, *PWFD_DISPLAY_SINK_NOTIFICATION;
-
Header
-
A WFD_DISPLAY_SINK_OBJECT_HEADER that describes the data included in the notification.
-
type
-
A WFD_DISPLAY_SINK_NOTIFICATION_TYPE value that indicates the type of the notification. This parameter also determines which Info to use in the union below.
-
strRemoteDeviceName
-
Contains a NULL-terminated string containing the name of the remote device. WFD_SINK_MAX_DEVICE_NAME_LENGTH is defined as the value (32).
-
RemoteDeviceAddress
-
A DOT11_MAC_ADDRESS that contains the BSSID of the remote device.
-
ProvisioningRequestInfo
-
Info about a provisioning request. Use this if type has the value ProvisioningRequestNotification.
-
hSessionHandle
-
The session handle.
-
PossibleConfigMethods
-
Possible methods for showing UI for interactive acceptance.
-
-
ReconnectRequestInfo
-
Info about a reconnect request. Use this if type has the value ReconnectRequestNotification.
-
GroupID
-
The group id.
-
-
ConnectedInfo
-
Info about a connected notification. Use this if type has the value ConnectedNotification.
-
hSessionHandle
-
The session handle.
-
guidSessionInterface
-
A GUID indicating the session interface.
-
GroupID
-
The group id.
-
strProfile
-
A pointer to a NULL-terminated string describing the profile.
-
LocalAddress
-
The local address.
-
RemoteAddress
-
The remote address.
-
uRTSPPort
-
The RTSP port.
-
Requirement | Value |
---|---|
Minimum supported client |
Windows 8.1 [desktop apps only] |
Minimum supported server |
Windows Server 2012 R2 [desktop apps only] |
Header |
|