Source code of Windows XP (NT5)
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.

45 lines
821 B

  1. /*++
  2. Copyright (c) 2000-2001 Microsoft Corporation
  3. Module Name:
  4. Excluded.cpp
  5. Abstract:
  6. This DLL is being excluded from the applied shim to GetCommandLine() API.
  7. It's the second DLL to be loaded after Log.dll and it has the code to
  8. initialize the log file and copy the shim dlls to the AppPatch folder. It
  9. also uninitializes the log file and deletes the dll files.
  10. Author:
  11. Diaa Fathalla (DiaaF) 27-Nov-2000
  12. Revision History:
  13. --*/
  14. #include "stdafx.h"
  15. #include "Excluded.h"
  16. BOOL APIENTRY DllMain( HANDLE hModule,
  17. DWORD ul_reason_for_call,
  18. LPVOID lpReserved
  19. )
  20. {
  21. return TRUE;
  22. }
  23. /*++
  24. It returns GetCommandLine result with no shims applied to it.
  25. --*/
  26. EXCLUDED_API LPTSTR NOT_HOOKEDGetCommandLine(void)
  27. {
  28. return GetCommandLine();
  29. }