Author: hbelusca
Date: Sat Jan 14 01:59:10 2017
New Revision: 73546
URL:
http://svn.reactos.org/svn/reactos?rev=73546&view=rev
Log:
[KERNEL32]: Fix (old-style) annotations.
Modified:
trunk/reactos/dll/win32/kernel32/client/path.c
Modified: trunk/reactos/dll/win32/kernel32/client/path.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/path.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/path.c [iso-8859-1] Sat Jan 14 01:59:10 2017
@@ -1119,12 +1119,12 @@
*/
DWORD
WINAPI
-SearchPathA(IN LPCSTR lpPath,
+SearchPathA(IN LPCSTR lpPath OPTIONAL,
IN LPCSTR lpFileName,
- IN LPCSTR lpExtension,
+ IN LPCSTR lpExtension OPTIONAL,
IN DWORD nBufferLength,
- IN LPSTR lpBuffer,
- OUT LPSTR *lpFilePart)
+ OUT LPSTR lpBuffer,
+ OUT LPSTR *lpFilePart OPTIONAL)
{
PUNICODE_STRING FileNameString;
UNICODE_STRING PathString, ExtensionString;
@@ -1294,12 +1294,12 @@
*/
DWORD
WINAPI
-SearchPathW(IN LPCWSTR lpPath,
+SearchPathW(IN LPCWSTR lpPath OPTIONAL,
IN LPCWSTR lpFileName,
- IN LPCWSTR lpExtension,
+ IN LPCWSTR lpExtension OPTIONAL,
IN DWORD nBufferLength,
- IN LPWSTR lpBuffer,
- OUT LPWSTR *lpFilePart)
+ OUT LPWSTR lpBuffer,
+ OUT LPWSTR *lpFilePart OPTIONAL)
{
UNICODE_STRING FileNameString, ExtensionString, PathString, CallerBuffer;
ULONG Flags, LengthNeeded, FilePartSize;
@@ -1452,7 +1452,7 @@
DWORD
WINAPI
GetLongPathNameW(IN LPCWSTR lpszShortPath,
- IN LPWSTR lpszLongPath,
+ OUT LPWSTR lpszLongPath,
IN DWORD cchBuffer)
{
PWCHAR Path, Original, First, Last, Buffer, Src, Dst;
@@ -1668,7 +1668,7 @@
DWORD
WINAPI
GetLongPathNameA(IN LPCSTR lpszShortPath,
- IN LPSTR lpszLongPath,
+ OUT LPSTR lpszLongPath,
IN DWORD cchBuffer)
{
ULONG Result, PathLength;
@@ -1749,7 +1749,7 @@
DWORD
WINAPI
GetShortPathNameA(IN LPCSTR lpszLongPath,
- IN LPSTR lpszShortPath,
+ OUT LPSTR lpszShortPath,
IN DWORD cchBuffer)
{
ULONG Result, PathLength;
@@ -1830,7 +1830,7 @@
DWORD
WINAPI
GetShortPathNameW(IN LPCWSTR lpszLongPath,
- IN LPWSTR lpszShortPath,
+ OUT LPWSTR lpszShortPath,
IN DWORD cchBuffer)
{
PWCHAR Path, Original, First, Last, Buffer, Src, Dst;
@@ -2052,7 +2052,7 @@
DWORD
WINAPI
GetTempPathA(IN DWORD nBufferLength,
- IN LPSTR lpBuffer)
+ OUT LPSTR lpBuffer)
{
WCHAR BufferW[MAX_PATH];
DWORD ret;
@@ -2078,7 +2078,7 @@
DWORD
WINAPI
GetTempPathW(IN DWORD count,
- IN LPWSTR path)
+ OUT LPWSTR path)
{
static const WCHAR tmp[] = { 'T', 'M', 'P', 0 };
static const WCHAR temp[] = { 'T', 'E', 'M', 'P', 0
};
@@ -2144,7 +2144,7 @@
DWORD
WINAPI
GetCurrentDirectoryA(IN DWORD nBufferLength,
- IN LPSTR lpBuffer)
+ OUT LPSTR lpBuffer)
{
ANSI_STRING AnsiString;
NTSTATUS Status;
@@ -2193,7 +2193,7 @@
DWORD
WINAPI
GetCurrentDirectoryW(IN DWORD nBufferLength,
- IN LPWSTR lpBuffer)
+ OUT LPWSTR lpBuffer)
{
return RtlGetCurrentDirectory_U(nBufferLength * sizeof(WCHAR), lpBuffer) /
sizeof(WCHAR);
}
@@ -2280,7 +2280,7 @@
*/
UINT
WINAPI
-GetSystemDirectoryA(IN LPSTR lpBuffer,
+GetSystemDirectoryA(OUT LPSTR lpBuffer,
IN UINT uSize)
{
ANSI_STRING AnsiString;
@@ -2310,7 +2310,7 @@
*/
UINT
WINAPI
-GetSystemDirectoryW(IN LPWSTR lpBuffer,
+GetSystemDirectoryW(OUT LPWSTR lpBuffer,
IN UINT uSize)
{
ULONG ReturnLength;
@@ -2334,7 +2334,7 @@
*/
UINT
WINAPI
-GetWindowsDirectoryA(IN LPSTR lpBuffer,
+GetWindowsDirectoryA(OUT LPSTR lpBuffer,
IN UINT uSize)
{
/* Is this a TS installation? */
@@ -2349,7 +2349,7 @@
*/
UINT
WINAPI
-GetWindowsDirectoryW(IN LPWSTR lpBuffer,
+GetWindowsDirectoryW(OUT LPWSTR lpBuffer,
IN UINT uSize)
{
/* Is this a TS installation? */
@@ -2364,7 +2364,7 @@
*/
UINT
WINAPI
-GetSystemWindowsDirectoryA(IN LPSTR lpBuffer,
+GetSystemWindowsDirectoryA(OUT LPSTR lpBuffer,
IN UINT uSize)
{
ANSI_STRING AnsiString;
@@ -2394,7 +2394,7 @@
*/
UINT
WINAPI
-GetSystemWindowsDirectoryW(IN LPWSTR lpBuffer,
+GetSystemWindowsDirectoryW(OUT LPWSTR lpBuffer,
IN UINT uSize)
{
ULONG ReturnLength;
@@ -2418,7 +2418,7 @@
*/
UINT
WINAPI
-GetSystemWow64DirectoryW(IN LPWSTR lpBuffer,
+GetSystemWow64DirectoryW(OUT LPWSTR lpBuffer,
IN UINT uSize)
{
#ifdef _WIN64
@@ -2435,7 +2435,7 @@
*/
UINT
WINAPI
-GetSystemWow64DirectoryA(IN LPSTR lpBuffer,
+GetSystemWow64DirectoryA(OUT LPSTR lpBuffer,
IN UINT uSize)
{
#ifdef _WIN64