toolkit/components/maintenanceservice/usertoken.h
author Marco Bonardo <mbonardo@mozilla.com>
Fri, 11 Jan 2019 11:58:24 +0000
changeset 506687 1ee1bd77fa1c6fec07e4eda0d2fd52cf93ab9ab7
parent 505383 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1519060 - Places maintenance doesn't properly replace malformed databases. r=Standard8, a=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D16199

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef _USERTOKEN_H_
#define _USERTOKEN_H_

#include <windows.h>

HANDLE GetUserProcessToken(LPCWSTR updaterPath, int updaterArgc,
                           LPCWSTR updaterArgv[]);

#endif  // _USERTOKEN_H_