Fix mismatch between longfilepathwrappers.cpp and longfilepathwrappers.h (dotnet...
authorJonghyun Park <parjong@gmail.com>
Wed, 30 Nov 2016 20:07:16 +0000 (05:07 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Wed, 30 Nov 2016 20:07:16 +0000 (21:07 +0100)
'longfilepathwrappers.h' declares several functions without WINAPI
attribute, but 'longfilepathwrappers.cpp' implements them with WINAPI
attributes.

This commit makes the declarations in 'longfilepathwrappers.h'
consistent with the implementations in 'longfilepathwrappers.cpp'.

Commit migrated from https://github.com/dotnet/coreclr/commit/73c2dc7771ff782ccfdd4a9287d83f807d646131

src/coreclr/src/inc/longfilepathwrappers.h

index a847988..a0ffe38 100644 (file)
@@ -124,18 +124,18 @@ GetLongPathNameWrapper(
     SString& lpszLongPath
     );
 
-UINT GetTempFileNameWrapper(
+UINT WINAPI GetTempFileNameWrapper(
     _In_  LPCTSTR lpPathName,
     _In_  LPCTSTR lpPrefixString,
     _In_  UINT    uUnique,
     SString&  lpTempFileName
     );
 
-DWORD GetTempPathWrapper(
+DWORD WINAPI GetTempPathWrapper(
     SString& lpBuffer
     );
 
-DWORD GetCurrentDirectoryWrapper(
+DWORD WINAPI GetCurrentDirectoryWrapper(
     SString&  lpBuffer
     );
 
@@ -145,7 +145,7 @@ GetModuleFileNameWrapper(
     SString& buffer
     );
 
-DWORD GetEnvironmentVariableWrapper(
+DWORD WINAPI GetEnvironmentVariableWrapper(
     _In_opt_  LPCTSTR lpName,
     _Out_opt_ SString&  lpBuffer
     );