Added binary and unicode file i/o support to msvcrt.
[reactos.git] / reactos / lib / msvcrt / stdlib / wfulpath.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: lib/msvcrt/stdlib/fullpath.c
5 * PURPOSE: Gets the fullpathname
6 * PROGRAMER: Boudewijn Dekker
7 * UPDATE HISTORY:
8 * 28/12/98: Created
9 */
10 #include <windows.h>
11 #include <msvcrt/stdlib.h>
12
13
14 wchar_t* _wfullpath(wchar_t* absPath, const wchar_t* relPath, size_t maxLength)
15 {
16 wchar_t* lpFilePart;
17
18 if (GetFullPathNameW(relPath,maxLength,absPath,&lpFilePart) == 0)
19 return NULL;
20
21 return absPath;
22 }