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.

33 lines
1.1 KiB

  1. // due to a problem in resetstk_downlevel.c, this .c file
  2. // has to be created to avoid a compilation error
  3. #include <resetstk_downlevel.c>
  4. #include "sdresolv_stkoflw.h"
  5. UINT
  6. IteratePathUnderlyingNoObjUnwinding(
  7. WCHAR * path, // in -path to start iterating from
  8. void * args, // in -translation settings
  9. void * stats, // in -stats (to display pathnames & pass to ResolveSD)
  10. void * LC, // in -last container
  11. void * LL, // in -last file
  12. BOOL haswc, // in -indicates whether path contains a wc character
  13. BOOL * logError
  14. )
  15. {
  16. UINT status = 0;
  17. *logError = FALSE;
  18. __try
  19. {
  20. IteratePathUnderlying(path,args,stats,LC,LL,haswc);
  21. }
  22. __except(GetExceptionCode() == STATUS_STACK_OVERFLOW)
  23. {
  24. if (_resetstkoflw_downlevel())
  25. *logError = TRUE;
  26. else
  27. status = STATUS_STACK_OVERFLOW;
  28. }
  29. return status;
  30. }