mirror of
https://github.com/stormshield/HiveSwarming
synced 2026-06-08 17:37:30 +00:00
22 lines
594 B
C++
22 lines
594 B
C++
// (C) Stormshield 2020
|
|
// Licensed under the Apache license, version 2.0
|
|
// See LICENSE.txt for details
|
|
|
|
#pragma once
|
|
#include <string>
|
|
|
|
/// @brief Delete .LOG1 and .LOG2 system files that were created when loading an application hive
|
|
/// @param[in] HiveFilePath Path to the hive file
|
|
void DeleteHiveLogFiles
|
|
(
|
|
_In_ const std::wstring &HiveFilePath
|
|
);
|
|
|
|
/// @brief Report an error
|
|
/// @param[in] ErrorCode HRESULT value
|
|
/// @param[in] Context Optional context
|
|
void ReportError
|
|
(
|
|
_In_ const HRESULT ErrorCode,
|
|
_In_ const std::wstring& Context = std::wstring{}
|
|
); |