mirror of https://github.com/tongzx/nt5src
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.
32 lines
716 B
32 lines
716 B
/***
|
|
*wsearche.c - find a file using paths from an environment variable (wchar_t version)
|
|
*
|
|
* Copyright (c) 1993-2001, Microsoft Corporation. All rights reserved.
|
|
*
|
|
*Purpose:
|
|
* to search a set a directories specified by an environment variable
|
|
* for a specified file name. If found the full path name is returned.
|
|
*
|
|
*Revision History:
|
|
* 12-07-93 CFW Module created.
|
|
* 02-07-94 CFW POSIXify.
|
|
*
|
|
*******************************************************************************/
|
|
|
|
#ifndef _POSIX_
|
|
|
|
#define WPRFLAG 1
|
|
|
|
#ifndef _UNICODE /* CRT flag */
|
|
#define _UNICODE 1
|
|
#endif
|
|
|
|
#ifndef UNICODE /* NT flag */
|
|
#define UNICODE 1
|
|
#endif
|
|
|
|
#undef _MBCS /* UNICODE not _MBCS */
|
|
|
|
#include "searchen.c"
|
|
|
|
#endif /* _POSIX_ */
|