agent_utils_win.h (519B)
1 // Copyright 2022 The Chromium Authors. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CONTENT_ANALYSIS_SRC_EVENT_MAC_H_ 6 #define CONTENT_ANALYSIS_SRC_EVENT_MAC_H_ 7 8 #include "event_base.h" 9 10 namespace content_analysis { 11 namespace sdk { 12 13 // Maps a Windows error status code (ERROR_xxx codes) to an SDK result code. 14 ResultCode ErrorToResultCode(DWORD err); 15 16 } // namespace sdk 17 } // namespace content_analysis 18 19 #endif // CONTENT_ANALYSIS_SRC_EVENT_MAC_H_