[GFLAGS] Move code around to handle multiple options
[reactos.git] / modules / rosapps / applications / cmdutils / gflags / gflags.h
1 /*
2 * PROJECT: Global Flags utility
3 * LICENSE: GPL-2.0 (https://spdx.org/licenses/GPL-2.0)
4 * PURPOSE: Global Flags utility page heap options
5 * COPYRIGHT: Copyright 2017 Pierre Schweitzer (pierre@reactos.org)
6 */
7
8 #define WIN32_NO_STATUS
9 #include <stdarg.h>
10 #include <windef.h>
11 #include <winbase.h>
12 #include <winuser.h>
13 #include <winreg.h>
14 #include <stdio.h>
15 #include <stdlib.h>
16
17
18 /* Option specific commandline parsing */
19 BOOL PageHeap_ParseCmdline(INT i, int argc, LPWSTR argv[]);
20
21 /* Execute parsed options */
22 INT PageHeap_Execute();
23
24 /* Common functions */
25 DWORD ReagFlagsFromRegistry(HKEY SubKey, PVOID Buffer, PWSTR Value, DWORD MaxLen);
26