WFD_DISPLAY_SINK_NOTIFICATION structure
The WFD_DISPLAY_SINK_NOTIFICATION structure describes the notification passed to the WFD_DISPLAY_SINK_NOTIFICATION_CALLBACK function.
Syntax
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;
Members
-
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.
-
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 8.1 [desktop apps only] |
Minimum supported server |
Windows Server 2012 R2 [desktop apps only] |
Header |
|
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for