tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

win_util.h (599B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
      3 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
      4 // Use of this source code is governed by a BSD-style license that can be
      5 // found in the LICENSE file.
      6 
      7 #ifndef BASE_WIN_UTIL_H__
      8 #define BASE_WIN_UTIL_H__
      9 
     10 #include <windows.h>
     11 #include <aclapi.h>
     12 
     13 #include <string>
     14 
     15 namespace win_util {
     16 
     17 // Uses the last Win32 error to generate a human readable message string.
     18 std::wstring FormatLastWin32Error();
     19 
     20 }  // namespace win_util
     21 
     22 #endif  // BASE_WIN_UTIL_H__