summaryrefslogtreecommitdiffstats
path: root/third_party/content_analysis_sdk/agent/src/agent_utils_win.h
blob: 7368ac794e9e7f76b0a21de50c6455e9869f3f71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2022 The Chromium Authors.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_ANALYSIS_SRC_EVENT_MAC_H_
#define CONTENT_ANALYSIS_SRC_EVENT_MAC_H_

#include "event_base.h"

namespace content_analysis {
namespace sdk {

// Maps a Windows error status code (ERROR_xxx codes) to an SDK result code.
ResultCode ErrorToResultCode(DWORD err);

}  // namespace sdk
}  // namespace content_analysis

#endif  // CONTENT_ANALYSIS_SRC_EVENT_MAC_H_