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",
#define INVALID_HANDLE_VALUE
BOOL WINAPI SetHandleInformation(IN HANDLE hObject, IN DWORD dwMask, IN DWORD dwFlags)
int WINAPIV fprintf(FILE *file, const char *format,...)
_ACRTIMP int __cdecl atoi(const char *)
_ACRTIMP __int64 __cdecl _atoi64(const char *)
GLint GLint GLint GLint GLint x
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)