#include <ddk/ntddk.h>
#include <windows.h>
#include <stdarg.h>
#include <string.h>
#include <stdio.h>
Go to the source code of this file.
◆ debug_printf()
Definition at line 10 of file shmclt.c.
11{
14
19}
ACPI_SIZE strlen(const char *String)
BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleA(IN HANDLE hConsoleOutput, IN CONST VOID *lpBuffer, IN DWORD nNumberOfCharsToWrite, OUT LPDWORD lpNumberOfCharsWritten, LPVOID lpReserved)
int __cdecl vsprintf(char *_Dest, const char *_Format, va_list _Args)
◆ main()
Definition at line 23 of file shmclt.c.
24{
28
29 printf(
"Shm test server\n");
30
32
36 );
38 {
40 return 1;
41 }
42
45 0,
46 0,
47 8192);
49 {
51 return 1;
52 }
54 printf(
"Copying from section\n");
57
58
59 return 0;
60}
HANDLE NTAPI OpenFileMappingW(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN LPCWSTR lpName)
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
DWORD WINAPI GetLastError(void)
#define FILE_MAP_ALL_ACCESS
◆ InputHandle
◆ OutputHandle