-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpch.h
More file actions
41 lines (30 loc) · 791 Bytes
/
pch.h
File metadata and controls
41 lines (30 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#pragma once
#include <sal.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <locale.h>
#include <errno.h>
typedef
_Function_class_(FN_EXAMPLE_PROC)
bool
FN_EXAMPLE_PROC(void);
#pragma region List
/* Linked list */
typedef struct _LINKED_LIST
{
struct _LINKED_LIST* Next;
unsigned int Value;
} LINKED_LIST, *PLINKED_LIST;
void
PrintLinkedListEx(
_In_z_ wchar_t* ListName,
_In_ PLINKED_LIST List);
#define PrintLinkedList(x) PrintLinkedListEx(L###x, x)
extern PLINKED_LIST LinkedListA; // { 1, 2, 3 }
void ResetLinkedListA(void);
extern PLINKED_LIST LinkedListB; // { 1 }
void ResetLinkedListB(void);
extern PLINKED_LIST LinkedListC; // { 0, 2, 5, 7 }
void ResetLinkedListC(void);
#pragma endregion