aboutsummaryrefslogtreecommitdiffstats
path: root/api/namespace.h
blob: d0f83a19b0403a3cbb48f298b15b2283f7486646 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0
 *
 * Copyright (C) 2018-2020 WireGuard LLC. All Rights Reserved.
 */

#pragma once

#include <Windows.h>

_Check_return_
_Return_type_success_(return != NULL) HANDLE NamespaceTakePoolMutex(_In_z_ const WCHAR *Pool);

_Check_return_
_Return_type_success_(return != NULL) HANDLE NamespaceTakeDriverInstallationMutex(void);

void
NamespaceReleaseMutex(_In_ HANDLE Mutex);

void
NamespaceInit(void);

void
NamespaceDone(void);