mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
24 lines
695 B
C++
24 lines
695 B
C++
// Copyright 2014 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef BASE_DEBUG_GDI_DEBUG_UTIL_WIN_H_
|
|
#define BASE_DEBUG_GDI_DEBUG_UTIL_WIN_H_
|
|
|
|
#include <windows.h>
|
|
|
|
#include "base/base_export.h"
|
|
|
|
namespace base {
|
|
namespace debug {
|
|
|
|
// Crashes the process leaving valuable information on the dump via
|
|
// debug::alias so we can find what is causing the allocation failures.
|
|
void BASE_EXPORT GDIBitmapAllocFailure(BITMAPINFOHEADER* header,
|
|
HANDLE shared_section);
|
|
|
|
} // namespace debug
|
|
} // namespace base
|
|
|
|
#endif // BASE_DEBUG_GDI_DEBUG_UTIL_WIN_H_
|