Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Description
Queries the properties of an endpoint.
Syntax
HRESULT
WINAPI
HcnQueryEndpointProperties(
_In_ HCN_ENDPOINT Endpoint,
_In_ PCWSTR Query,
_Outptr_ PWSTR* Properties,
_Outptr_opt_ PWSTR* ErrorRecord
);
Parameters
Endpoint
Handle to an endpoint HCN_ENDPOINT
Query
Optional JSON document of HostComputeQuery.
Properties
The properties in the form of a JSON document of HostComputeEndpoint.
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 |