WFDDisplaySinkSetPersistedGroupIDList function

Sets the persisted group id list for all the profiles that are persisted by your app. Your app should call this method every time it adds or deletes a profile from its storage.

Syntax

DWORD WINAPI WFDSetDisplaySinkPersistedGroupIDList(
  _In_ UINT32             cGroupIDList,
  _In_ DOT11_WFD_GROUP_ID *pGroupIDList
);

Parameters

cGroupIDList [in]

The count of group ids being pointed to by pGroupIDList.

pGroupIDList [in]

Pointer to an array of cGroupIDList group ids.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

Remarks

This method is always expected to be called with the entire list, and not a subset. It is OK to call this method with 0 profiles when the profile store is empty.

A re-invoke for a group id that is not part of the provided list will fail with "Fail; unknown P2P Group"(status 8).

Requirements

Requirement Value
Minimum supported client
Windows 8.1 [desktop apps only]
Minimum supported server
Windows Server 2012 R2 [desktop apps only]
End of client support
Windows 10
End of server support
Windows Server 2016
Header
Wfdsink.h
Library
Wifidisplay.lib
DLL
Wifidisplay.dll