Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-bot <dotnet-bot@microsoft.com>2016-02-26 02:57:59 +0300
committerdotnet-bot <dotnet-bot@microsoft.com>2016-02-26 02:57:59 +0300
commit0a25ceae5826f4f8a49317a9976ef3dae68cad76 (patch)
tree9befaabbc2ac380f4939e58205df0da3938b87bd /src/Native/Runtime/PalRedhawkFunctions.h
parent1e3dae777d242a8b73a3c8008182d82a850d434f (diff)
Fix some Prefast issues under ndp\rh and ndp\FxCore\CoreRT.
Bug: https://devdiv.visualstudio.com/web/wi.aspx?pcguid=011b8bdf-6d56-4f87-be0d-0092136884d9&id=195206 [tfs-changeset: 1578980]
Diffstat (limited to 'src/Native/Runtime/PalRedhawkFunctions.h')
-rw-r--r--src/Native/Runtime/PalRedhawkFunctions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Native/Runtime/PalRedhawkFunctions.h b/src/Native/Runtime/PalRedhawkFunctions.h
index d9642ff2f..a5bed8b27 100644
--- a/src/Native/Runtime/PalRedhawkFunctions.h
+++ b/src/Native/Runtime/PalRedhawkFunctions.h
@@ -110,8 +110,8 @@ inline UInt32 PalGetCurrentThreadId()
return GetCurrentThreadId();
}
-extern "C" UInt32 __stdcall GetEnvironmentVariableW(LPCWSTR, LPWSTR, UInt32);
-inline UInt32 PalGetEnvironmentVariableW(LPCWSTR arg1, LPWSTR arg2, UInt32 arg3)
+extern "C" UInt32 __stdcall GetEnvironmentVariableW(__in_z_opt LPCWSTR, __out_z_opt LPWSTR, UInt32);
+inline UInt32 PalGetEnvironmentVariableW(__in_z_opt LPCWSTR arg1, __out_z_opt LPWSTR arg2, UInt32 arg3)
{
return GetEnvironmentVariableW(arg1, arg2, arg3);
}