Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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 |