2 #include <msvcrt/stdlib.h>
3 #include <msvcrt/string.h>
6 #include <msvcrt/msvcrtdbg.h>
9 void _wsearchenv(const wchar_t* file,const wchar_t* var,wchar_t* path)
11 wchar_t* env = _wgetenv(var);
16 DPRINT("_wsearchenv()\n");
25 if ( SearchPathW(x,file,NULL,MAX_PATH,path,&FilePart) > 0 ) {