3 * FILE : reactos/apps/shm/shmsrv.c
12 int main(int argc, char* argv[])
17 printf("Shm test server\n");
19 Section = CreateFileMappingW (
29 printf("Failed to create section (err=%d)", GetLastError());
33 printf("Mapping view of section\n");
34 BaseAddress = MapViewOfFile(Section,
39 printf("BaseAddress %x\n", (UINT) BaseAddress);
40 if (BaseAddress == NULL)
42 printf("Failed to map section\n");
45 printf("Copying to section\n");
46 printf("Copying %s\n", GetCommandLineA());
47 strcpy(BaseAddress, GetCommandLineA());