ReactOS  0.4.15-dev-1397-g19779b3
main.c File Reference
#include <windows.h>
#include <stdio.h>
#include "regdump.h"
Include dependency graph for main.c:

Go to the source code of this file.

Functions

DWORD GetInput (char *Buffer, int buflen)
 
int __cdecl main (int argc, char *argv[])
 
int __cdecl mainCRTStartup (void)
 

Variables

HANDLE OutputHandle
 
HANDLE InputHandle
 
charargs [] = { "regdump.exe", "0", "ansi", "verbose"}
 

Function Documentation

◆ GetInput()

DWORD GetInput ( char Buffer,
int  buflen 
)

Definition at line 12 of file main.c.

13 {
14  DWORD Result;
15 
17  return Result;
18 }
HANDLE InputHandle
Definition: main.c:9
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:426
Definition: bufpool.h:45
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOL WINAPI DECLSPEC_HOTPATCH ReadConsoleA(IN HANDLE hConsoleInput, OUT LPVOID lpBuffer, IN DWORD nNumberOfCharsToRead, OUT LPDWORD lpNumberOfCharsRead, IN PCONSOLE_READCONSOLE_CONTROL pInputControl OPTIONAL)
Definition: readwrite.c:1195
#define NULL
Definition: types.h:112

Referenced by regdump().

◆ main()

int __cdecl main ( int argc  ,
char argv[] 
)

hosttype.c Copyright (C) 2002 by Brian Palmer brian.nosp@m.p@sg.nosp@m.inet..nosp@m.com

Definition at line 20 of file main.c.

21 {
22  //AllocConsole();
25  //return regmain(argc, argv);
26  return regdump(argc, argv);
27 }
static int argc
Definition: ServiceArgs.c:12
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
Definition: console.c:200
#define argv
Definition: mplay32.c:18
HANDLE InputHandle
Definition: main.c:9
#define STD_INPUT_HANDLE
Definition: winbase.h:264
HANDLE OutputHandle
Definition: main.c:8
#define STD_OUTPUT_HANDLE
Definition: winbase.h:265
int regdump(int argc, char *argv[])
Definition: regdump.c:89

◆ mainCRTStartup()

int __cdecl mainCRTStartup ( void  )

Definition at line 36 of file main.c.

37 {
38 
39  //DllMain(NULL, DLL_PROCESS_ATTACH, NULL);
40 
41  main(1, args);
42  return 0;
43 }
Definition: match.c:390
int main(int argc, const char *argv[])
Definition: main.c:122

Variable Documentation

◆ args

char* args[] = { "regdump.exe", "0", "ansi", "verbose"}

Definition at line 34 of file main.c.

Referenced by PrintResourceString(), PrintString(), and run_script().

◆ InputHandle

HANDLE InputHandle

Definition at line 9 of file main.c.

Referenced by GetInput(), and main().

◆ OutputHandle

HANDLE OutputHandle

Definition at line 8 of file main.c.

Referenced by main().