Description
Modifies an endpoint.
Syntax
HRESULT
WINAPI
HcnModifyEndpoint(
_In_ HCN_ENDPOINT Endpoint,
_In_ PCWSTR Settings,
_Outptr_opt_ PWSTR* ErrorRecord
);
Parameters
Endpoint
The HCN_ENDPOINT to modify.
Settings
JSON document specifying the settings of the endpoint.
ErrorRecord
Receives a JSON document with extended errorCode information. The caller must release the buffer using CoTaskMemFree.
Return Values
The function returns HRESULT.
Requirements
| Parameter | Description |
|---|---|
| Minimum supported client | Windows 10, version 1809 |
| Minimum supported server | Windows Server 2019 |
| Target Platform | Windows |
| Header | ComputeNetwork.h |
| Library | ComputeNetwork.lib |
| Dll | ComputeNetwork.dll |