You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
521 B
30 lines
521 B
#ifndef _INJECT_H_
|
|
#define _INJECT_H_
|
|
|
|
//
|
|
// Constant declarations
|
|
//
|
|
#define DEFAULT_ENTRY_POINT "g_fnFinalizeInjection"
|
|
|
|
//
|
|
// Structure definitions
|
|
//
|
|
typedef struct _INJECTIONSTUB
|
|
{
|
|
CHAR pCode[MAX_PATH];
|
|
CHAR szDLLName[MAX_PATH];
|
|
CHAR szEntryPoint[MAX_PATH];
|
|
} INJECTIONSTUB, *PINJECTIONSTUB;
|
|
|
|
//
|
|
// Function definitions
|
|
//
|
|
HANDLE
|
|
InjectDLL(DWORD dwEntryPoint,
|
|
HANDLE hProcess,
|
|
LPSTR pszDLLName);
|
|
|
|
VOID
|
|
RestoreImageFromInjection(VOID);
|
|
|
|
#endif //_INJECT_H_
|