#include <windows.h>
#include <stdio.h>
#include <string.h>
#include <tchar.h>
Go to the source code of this file.
◆ _UNICODE
◆ UNICODE
◆ main()
Definition at line 9 of file sectest.c.
10{
14
16
19 0,
22 0,
23 0);
25 {
27 return 1;
28 }
29
33 0,
34 4096,
37 {
39 return 1;
40 }
41
42 printf(
"Mapping view of section\n");
45 0,
46 0,
47 4096);
50 {
52 return 1;
53 }
54
55 printf(
"Clearing section\n");
57 printf(
"Copying test data to section\n");
59
61 {
63 return 1;
64 }
65
67 {
69 return 1;
70 }
71
72 return 0;
73}
#define INVALID_HANDLE_VALUE
#define FillMemory(BUF, SIZ, MASK)
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
DWORD WINAPI GetLastError(void)
#define CreateFileMapping
#define FILE_MAP_ALL_ACCESS