Bug 1462727 - Make WindowsMapRemoteView.cpp work with April 2018 Update SDK. r?aklotz
MozReview-Commit-ID: DtzFeCmbGqO
--- a/mozglue/misc/WindowsMapRemoteView.cpp
+++ b/mozglue/misc/WindowsMapRemoteView.cpp
@@ -10,22 +10,22 @@
#include "mozilla/DynamicallyLinkedFunctionPtr.h"
#include <winternl.h>
#if (NTDDI_VERSION < NTDDI_WIN10_RS2)
// MapViewOfFile2 is just an inline function that calls MapViewOfFileNuma2 with
// its preferred node set to NUMA_NO_PREFERRED_NODE
-PVOID WINAPI
+WINBASEAPI PVOID WINAPI
MapViewOfFileNuma2(HANDLE aFileMapping, HANDLE aProcess, ULONG64 aOffset,
PVOID aBaseAddress, SIZE_T aViewSize, ULONG aAllocationType,
ULONG aPageProtection, ULONG aPreferredNode);
-BOOL WINAPI
+WINBASEAPI BOOL WINAPI
UnmapViewOfFile2(HANDLE aProcess, PVOID aBaseAddress, ULONG aUnmapFlags);
#endif // (NTDDI_VERSION < NTDDI_WIN10_RS2)
enum SECTION_INHERIT
{
ViewShare = 1,
ViewUnmap = 2