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:
authorJan Kotas <jkotas@microsoft.com>2016-02-10 23:08:43 +0300
committerJan Kotas <jkotas@microsoft.com>2016-02-10 23:08:43 +0300
commit49ee4fe33a1b16c3c3c6e439ce8819e9683f5603 (patch)
treee4a77cdee3d633f080995c387de224f42c4f257f /src/Native/Runtime/PalRedhawk.h
parent007f4874a786bb77db0aadd52ca4a5f6d0033c1b (diff)
Remove usage of CreateFile2 as only available under Windows 8
Diffstat (limited to 'src/Native/Runtime/PalRedhawk.h')
-rw-r--r--src/Native/Runtime/PalRedhawk.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Native/Runtime/PalRedhawk.h b/src/Native/Runtime/PalRedhawk.h
index 0ef356623..8a5067614 100644
--- a/src/Native/Runtime/PalRedhawk.h
+++ b/src/Native/Runtime/PalRedhawk.h
@@ -605,7 +605,7 @@ typedef IntNative (WINAPI *FARPROC)();
typedef UInt64 REGHANDLE;
typedef UInt64 TRACEHANDLE;
-#ifndef EVENT_PROVIDER_INCLUDED
+#ifndef _EVNTPROV_H_
struct EVENT_DATA_DESCRIPTOR
{
UInt64 Ptr;
@@ -640,7 +640,7 @@ EventDataDescCreate(_Out_ EVENT_DATA_DESCRIPTOR * EventDataDescriptor, _In_opt_
EventDataDescriptor->Size = DataSize;
EventDataDescriptor->Reserved = 0;
}
-#endif // EVENT_PROVIDER_INCLUDED
+#endif // _EVNTPROV_H_
#ifndef GCENV_INCLUDED
extern GCSystemInfo g_SystemInfo;
@@ -690,7 +690,7 @@ REDHAWK_PALIMPORT bool REDHAWK_PALAPI PalGetThreadContext(HANDLE hThread, _Out_
REDHAWK_PALIMPORT Int32 REDHAWK_PALAPI PalGetProcessCpuCount();
-REDHAWK_PALIMPORT UInt32 REDHAWK_PALAPI PalReadFileContents(_In_ const TCHAR *, _Out_ char * buff, _In_ UInt32 maxBytesToRead);
+REDHAWK_PALIMPORT UInt32 REDHAWK_PALAPI PalReadFileContents(_In_z_ const TCHAR *, _Out_writes_all_(maxBytesToRead) char * buff, _In_ UInt32 maxBytesToRead);
// Retrieves the entire range of memory dedicated to the calling thread's stack. This does
// not get the current dynamic bounds of the stack, which can be significantly smaller than