#include <ddk/ntddk.h>
#include <windows.h>
#include <stdarg.h>
#include <string.h>
#include <stdio.h>
Go to the source code of this file.
◆ main()
Definition at line 11 of file shmsrv.c.
12{
15
16 printf(
"Shm test server\n");
17
22 0,
23 8192,
25 );
27 {
29 return 1;
30 }
31
32 printf(
"Mapping view of section\n");
35 0,
36 0,
37 8192);
40 {
41 printf(
"Failed to map section\n");
42 }
43
44 printf(
"Copying to section\n");
47
49
50 return 0;
51}
#define CreateFileMappingW(a, b, c, d, e, f)
LPSTR WINAPI GetCommandLineA(VOID)
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
VOID WINAPI DECLSPEC_HOTPATCH Sleep(IN DWORD dwMilliseconds)
DWORD WINAPI GetLastError(void)
#define FILE_MAP_ALL_ACCESS