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.
This API is used for closing the handle returned by NetworkIsolationGetEnterpriseIdAsync as well as for synchronizing the operation.
Example of NetworkIsolationGetEnterpriseIdClose usage: https://github.com/microsoft/EnterpriseStateClassify
Syntax
DWORD NetworkIsolationGetEnterpriseIdClose(
[in] HANDLE hOperation,
[in] BOOL bWaitForOperation
);
Parameters
[in] hOperation
The handle to release.
[in] bWaitForOperation
Indicates whether to wait for synchronization.
Return value
Returns ERROR_SUCCESS if successful, or an error value otherwise.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | netfw.h |
DLL | Firewallapi.dll |