IWRdsProtocolManager::Initialize method (wtsprotocol.h)
Initializes the protocol manager.
Syntax
HRESULT Initialize(
[in] IWRdsProtocolSettings *pIWRdsSettings,
[in] PWRDS_SETTINGS pWRdsSettings
);
Parameters
[in] pIWRdsSettings
A pointer to an object that implements the IWRdsProtocolSettings interface.
[in] pWRdsSettings
A pointer to a WRDS_SETTINGS structure that contains the settings to use.
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.
Remarks
A possible use for this method is to add a reference to the interface object pointer and to make a copy of the settings structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2012 |
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