1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20

base / win / wintrust_shim.h [blame]

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef BASE_WIN_WINTRUST_SHIM_H_
#define BASE_WIN_WINTRUST_SHIM_H_

// Any Chromium headers which want to `#include <wintrust.h>` should instead
// #include this header.

#include <windows.h>

// <wintrust.h> #includes <wincrypt.h>, and so needs to shim it; see comments in
// wincrypt_shim.h.
// clang-format off
#include "base/win/wincrypt_shim.h"
#include <wintrust.h>
// clang-format on

#endif  // BASE_WIN_WINTRUST_SHIM_H_