mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 23:22:59 +00:00
Oops.
svn path=/trunk/; revision=1064
This commit is contained in:
parent
0344745e30
commit
6088637c5e
1 changed files with 55 additions and 41 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: curdir.c,v 1.22 2000/03/16 18:44:55 dwelch Exp $
|
/* $Id: curdir.c,v 1.23 2000/03/16 20:50:48 dwelch Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -28,8 +28,12 @@ UNICODE_STRING WindowsDirectory;
|
||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
DWORD STDCALL GetCurrentDirectoryA (DWORD nBufferLength,
|
DWORD
|
||||||
LPSTR lpBuffer)
|
STDCALL
|
||||||
|
GetCurrentDirectoryA (
|
||||||
|
DWORD nBufferLength,
|
||||||
|
LPSTR lpBuffer
|
||||||
|
)
|
||||||
{
|
{
|
||||||
ANSI_STRING AnsiString;
|
ANSI_STRING AnsiString;
|
||||||
UNICODE_STRING UnicodeString;
|
UNICODE_STRING UnicodeString;
|
||||||
|
@ -71,8 +75,12 @@ DWORD STDCALL GetCurrentDirectoryA (DWORD nBufferLength,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DWORD STDCALL GetCurrentDirectoryW (DWORD nBufferLength,
|
DWORD
|
||||||
LPWSTR lpBuffer)
|
STDCALL
|
||||||
|
GetCurrentDirectoryW (
|
||||||
|
DWORD nBufferLength,
|
||||||
|
LPWSTR lpBuffer
|
||||||
|
)
|
||||||
{
|
{
|
||||||
ULONG Length;
|
ULONG Length;
|
||||||
|
|
||||||
|
@ -119,6 +127,7 @@ SetCurrentDirectoryA (
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
WINBOOL
|
WINBOOL
|
||||||
STDCALL
|
STDCALL
|
||||||
SetCurrentDirectoryW (
|
SetCurrentDirectoryW (
|
||||||
|
@ -224,7 +233,13 @@ GetTempPathW (
|
||||||
return Value.Length / sizeof(WCHAR);
|
return Value.Length / sizeof(WCHAR);
|
||||||
}
|
}
|
||||||
|
|
||||||
WINBOOL STDCALL SetCurrentDirectoryW (LPCWSTR lpPathName)
|
|
||||||
|
UINT
|
||||||
|
STDCALL
|
||||||
|
GetSystemDirectoryA (
|
||||||
|
LPSTR lpBuffer,
|
||||||
|
UINT uSize
|
||||||
|
)
|
||||||
{
|
{
|
||||||
ANSI_STRING String;
|
ANSI_STRING String;
|
||||||
ULONG Length;
|
ULONG Length;
|
||||||
|
@ -254,7 +269,6 @@ WINBOOL STDCALL SetCurrentDirectoryW (LPCWSTR lpPathName)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
UINT
|
UINT
|
||||||
STDCALL
|
STDCALL
|
||||||
GetSystemDirectoryW (
|
GetSystemDirectoryW (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue