ReactOS 0.4.16-dev-1946-g52006dd
precomp.h File Reference
#include <stdarg.h>
#include <stdio.h>
#include <windef.h>
#include <winbase.h>
#include <winsock2.h>
#include <iphlpapi.h>
#include <ip2string.h>
#include <netsh.h>
Include dependency graph for precomp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 
#define _INC_WINDOWS
 

Functions

DWORD WINAPI RegisterInterfaceHelper (VOID)
 
DWORD WINAPI RegisterIpHelper (VOID)
 
DWORD WINAPI RegisterWinsockHelper (VOID)
 

Variables

HINSTANCE hDllInstance
 

Macro Definition Documentation

◆ _INC_WINDOWS

#define _INC_WINDOWS

Definition at line 18 of file precomp.h.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 13 of file precomp.h.

Function Documentation

◆ RegisterInterfaceHelper()

DWORD WINAPI RegisterInterfaceHelper ( VOID  )

Definition at line 110 of file interface.c.

111{
112 NS_HELPER_ATTRIBUTES HelperAttributes;
113
114 DPRINT("RegisterInterfaceHelper()\n");
115
116 ZeroMemory(&HelperAttributes, sizeof(HelperAttributes));
117 HelperAttributes.dwVersion = 1;
118 HelperAttributes.guidHelper = GUID_IFMON_INTERFACE;
119 HelperAttributes.pfnStart = InterfaceStart;
120 HelperAttributes.pfnStop = NULL;
121 RegisterHelper(NULL, &HelperAttributes);
122
123 return ERROR_SUCCESS;
124}
#define ERROR_SUCCESS
Definition: deptool.c:10
#define NULL
Definition: types.h:112
DWORD WINAPI InterfaceStart(_In_ const GUID *pguidParent, _In_ DWORD dwVersion)
Definition: interface.c:81
DWORD WINAPI RegisterHelper(_In_ const GUID *pguidParentHelper, _In_ const NS_HELPER_ATTRIBUTES *pHelperAttributes)
Definition: helper.c:385
#define ZeroMemory
Definition: minwinbase.h:31
#define DPRINT
Definition: sndvol32.h:73
PNS_HELPER_STOP_FN pfnStop
Definition: netsh.h:180
PNS_HELPER_START_FN pfnStart
Definition: netsh.h:179

Referenced by InitHelperDll().

◆ RegisterIpHelper()

DWORD WINAPI RegisterIpHelper ( VOID  )

Definition at line 476 of file ip.c.

477{
478 NS_HELPER_ATTRIBUTES HelperAttributes;
479 GUID guidParent = GUID_IFMON_INTERFACE;
480
481 DPRINT1("RegisterIpHelper()\n");
482
483 ZeroMemory(&HelperAttributes, sizeof(HelperAttributes));
484 HelperAttributes.dwVersion = 1;
485 HelperAttributes.guidHelper = GUID_IFMON_IP;
486 HelperAttributes.pfnStart = IpStart;
487 HelperAttributes.pfnStop = NULL;
488 RegisterHelper(&guidParent, &HelperAttributes);
489
490 return ERROR_SUCCESS;
491}
#define DPRINT1
Definition: precomp.h:8
static DWORD WINAPI IpStart(_In_ const GUID *pguidParent, _In_ DWORD dwVersion)
Definition: ip.c:447

Referenced by InitHelperDll().

◆ RegisterWinsockHelper()

DWORD WINAPI RegisterWinsockHelper ( VOID  )

Definition at line 104 of file winsock.c.

105{
106 NS_HELPER_ATTRIBUTES HelperAttributes;
107
108 ZeroMemory(&HelperAttributes, sizeof(HelperAttributes));
109 HelperAttributes.dwVersion = 1;
110 HelperAttributes.guidHelper = GUID_IFMON_WINSOCK;
111 HelperAttributes.pfnStart = WinsockStart;
112 HelperAttributes.pfnStop = NULL;
113 RegisterHelper(NULL, &HelperAttributes);
114
115 return ERROR_SUCCESS;
116}
static DWORD WINAPI WinsockStart(_In_ const GUID *pguidParent, _In_ DWORD dwVersion)
Definition: winsock.c:77

Referenced by InitHelperDll().

Variable Documentation

◆ hDllInstance

HINSTANCE hDllInstance
extern

Definition at line 17 of file browser.c.