HcsOpenComputeSystem
Description
Opens a handle to an existing compute system, see sample code.
Syntax
HRESULT WINAPI
HcsOpenComputeSystem(
_In_ PCWSTR id,
_In_ DWORD requestedAccess,
_Out_ HCS_SYSTEM* computeSystem
);
Parameters
id
Unique Id identifying the compute system.
requestedAccess
Reserved for future use, must be GENERIC_ALL
.
computeSystem
Receives a handle to the compute system. It is the responsibility of the caller to release the handle using HcsCloseComputeSystem once it is no longer in use.
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 | ComputeCore.h |
Library | ComputeCore.lib |
Dll | ComputeCore.dll |
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de