aboutsummaryrefslogtreecommitdiffstats
path: root/api/elevate.h
blob: aa0fc60813c441dfd1700e54c050f6edb07ce51b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0
 *
 * Copyright (C) 2018-2020 WireGuard LLC. All Rights Reserved.
 */

#pragma once

#include <Windows.h>

_Return_type_success_(return != FALSE) BOOL ElevateToSystem(void);

_Return_type_success_(return != NULL) HANDLE GetPrimarySystemTokenFromThread(void);