HyperDbg Debugger
Loading...
Searching...
No Matches
install.h
Go to the documentation of this file.
1
12#pragma once
13
14//
15// The following ifdef block is the standard way of creating macros which make
16// exporting from a DLL simpler. All files within this DLL are compiled with the
17// LIBHYPERDBG_EXPORTS symbol defined on the command line. This symbol should not
18// be defined on any project that uses this DLL. This way any other project
19// whose source files include this file see LIBHYPERDBG_API functions as being
20// imported from a DLL, whereas this DLL sees symbols defined with this macro as
21// being exported.
22//
23
24#ifdef LIBHYPERDBG_EXPORTS
25# define LIBHYPERDBG_API __declspec(dllexport)
26#else
27# define LIBHYPERDBG_API __declspec(dllimport)
28#endif
29
31// Installer //
33
34#define DRIVER_FUNC_INSTALL 0x01
35#define DRIVER_FUNC_STOP 0x02
36#define DRIVER_FUNC_REMOVE 0x03
37
39ManageDriver(_In_ LPCTSTR DriverName, _In_ LPCTSTR ServiceName, _In_ UINT16 Function);
40
42SetupPathForFileName(const CHAR * FileName,
43 _Inout_updates_bytes_all_(BufferLength) PCHAR FileLocation,
44 ULONG BufferLength,
45 BOOLEAN CheckFileExists);
unsigned short UINT16
Definition BasicTypes.h:47
UCHAR BOOLEAN
Definition BasicTypes.h:39
char CHAR
Definition BasicTypes.h:31
unsigned long ULONG
Definition BasicTypes.h:37
BOOLEAN SetupPathForFileName(const CHAR *FileName, _Inout_updates_bytes_all_(BufferLength) PCHAR FileLocation, ULONG BufferLength, BOOLEAN CheckFileExists)
Setup file name.
Definition install.cpp:440
BOOLEAN ManageDriver(_In_ LPCTSTR DriverName, _In_ LPCTSTR ServiceName, _In_ UINT16 Function)