![]() |
Panoptes 1.0.0
Endpoint Detection and Response
|
#include "panoptes_service.h"#include "ResourceCore.h"#include <iostream>#include "grpc.hpp"#include "TrayNotifications.h"#include "events.h"#include "error_message.h"#include "mutex.hpp"#include "containers.h"#include "utils.h"#include "database.hpp"#include "driver.h"#include "Configuration.hpp"Go to the source code of this file.
Functions | |
| ERRORCODE | CleanupWithError (ERRORCODE err) |
| int WINAPI | WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) |
Definition at line 15 of file service.cpp.
References DestroyMutex(), DisplayErrorMessage(), and GetErrorMessage().
Referenced by WinMain().
| int WINAPI WinMain | ( | HINSTANCE | hInstance, |
| HINSTANCE | hPrevInstance, | ||
| LPSTR | lpCmdLine, | ||
| int | nCmdShow | ||
| ) |
Definition at line 23 of file service.cpp.
References CleanupWithError(), PanoptesContext::config, PanoptesContext::database, DEBUGGER, DisplayErrorMessage(), ERRORCODE, GetCurrentPath(), GetErrorMessage(), GetKernelServiceStatus(), GRPC_SERVER_ERROR, IsRunningAsAdmin(), Configuration::m_extensibility, Configuration::m_ignoreDriver, MUTEX_SET, MutexExist(), NOT_ADMIN, NOT_INSTALLED, PANO_SERVICE_RUNNING, PANO_SERVICE_STOPPED, PANO_SUCCESS, Configuration::Parse(), RunServiceServer(), serviceContext, SetEnvironmentMutex(), START_TRACE, StartContainers(), StartPanoptesTrace(), StartWindowsDriver(), StopWindowsDriver(), and PanoptesContext::threadError.