Leaked source code of windows server 2003
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

  1. #ifndef _INJECT_H_
  2. #define _INJECT_H_
  3. //
  4. // Constant declarations
  5. //
  6. #define DEFAULT_ENTRY_POINT "g_fnFinalizeInjection"
  7. //
  8. // Structure definitions
  9. //
  10. typedef struct _INJECTIONSTUB
  11. {
  12. CHAR pCode[MAX_PATH];
  13. CHAR szDLLName[MAX_PATH];
  14. CHAR szEntryPoint[MAX_PATH];
  15. } INJECTIONSTUB, *PINJECTIONSTUB;
  16. //
  17. // Function definitions
  18. //
  19. HANDLE
  20. InjectDLL(DWORD dwEntryPoint,
  21. HANDLE hProcess,
  22. LPSTR pszDLLName);
  23. VOID
  24. RestoreImageFromInjection(VOID);
  25. #endif //_INJECT_H_