IWRdsEnhancedFastReconnectArbitrator::GetSessionForEnhancedFastReconnect method (wtsprotocol.h)
The protocol stack uses this method to return the session ID to be used for enhanced fast reconnect.
Syntax
HRESULT GetSessionForEnhancedFastReconnect(
LONG *pSessionIdArray,
DWORD dwSessionCount,
LONG *pResultSessionId
);
Parameters
pSessionIdArray
An array of session IDs that match the enhanced fast reconnect criteria.
dwSessionCount
The size of the pSessionIdArray array (in elements).
pResultSessionId
Pointer to LONG variable to receive the resultant session ID.
Return value
When you are implementing this method, return S_OK if the function succeeds. If it fails, return an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows ServerĀ 2022 |
Target Platform | Windows |
Header | wtsprotocol.h |
See also
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