39 fprintf(
stderr,
"%lu: Could not create anonymous file map.\n",
59 fprintf(
stderr,
"%lu: VirtualAlloc failed to realize the page.\n",
69 if(
x[0] != 0x12345678 ) {
70 fprintf(
stderr,
"%lu: Can't write to the memory (%08x != 0x12345678)\n",
80 memset( &si, 0,
sizeof( si ) );
97 fprintf(
stderr,
"%lu: Failed to wait for child process to terminate.\n",
__int64 CDECL _atoi64(const char *nptr)
#define INVALID_HANDLE_VALUE
BOOL WINAPI SetHandleInformation(IN HANDLE hObject, IN DWORD dwMask, IN DWORD dwFlags)
GLint GLint GLint GLint GLint x
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
_Check_return_ int __cdecl atoi(_In_z_ const char *_Str)
#define sprintf(buf, format,...)
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
LPVOID NTAPI VirtualAlloc(IN LPVOID lpAddress, IN SIZE_T dwSize, IN DWORD flAllocationType, IN DWORD flProtect)
#define CreateFileMapping
#define HANDLE_FLAG_INHERIT
DWORD WINAPI GetCurrentProcessId(void)