wintun/api/namespace.h
Jason A. Donenfeld 007db8bd94 api: serialize driver installation
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-02 12:07:05 +01:00

26 lines
387 B
C

/* SPDX-License-Identifier: GPL-2.0
*
* Copyright (C) 2018-2020 WireGuard LLC. All Rights Reserved.
*/
#pragma once
#include <Windows.h>
_Check_return_
HANDLE
NamespaceTakePoolMutex(_In_z_ const WCHAR *Pool);
_Check_return_
HANDLE
NamespaceTakeDriverInstallationMutex(void);
void
NamespaceReleaseMutex(_In_ HANDLE Mutex);
void
NamespaceInit(void);
void
NamespaceCleanup(void);