mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.1 KiB
62 lines
1.1 KiB
/*++
|
|
|
|
Copyright (c) 1998 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
Routing\Netsh\dhcp\dhcpmon.h
|
|
|
|
Abstract:
|
|
|
|
DHCP Command dispatcher.
|
|
|
|
Created by:
|
|
|
|
Shubho Bhattacharya(a-sbhatt) on 11/14/98
|
|
|
|
--*/
|
|
|
|
|
|
#define MAX_IP_STRING_LEN 15
|
|
|
|
extern HANDLE g_hModule;
|
|
extern HANDLE g_hParentModule;
|
|
extern HANDLE g_hDhcpsapiModule;
|
|
extern BOOL g_bCommit;
|
|
extern BOOL g_hConnect;
|
|
extern BOOL g_fScope;
|
|
extern PWCHAR g_pwszServer;
|
|
extern DWORD g_dwMajorVersion;
|
|
extern DWORD g_dwMinorVersion;
|
|
extern DHCP_IP_ADDRESS g_ServerIpAddress;
|
|
extern ULONG g_ulInitCount;
|
|
extern ULONG g_ulNumTopCmds;
|
|
extern ULONG g_ulNumGroups;
|
|
|
|
extern CHAR g_ServerIpAddressAnsiString[MAX_IP_STRING_LEN+1];
|
|
extern WCHAR g_ServerIpAddressUnicodeString[MAX_IP_STRING_LEN+1];
|
|
extern CHAR g_ScopeIpAddressAnsiString[MAX_IP_STRING_LEN+1];
|
|
extern WCHAR g_ScopeIpAddressUnicodeString[MAX_IP_STRING_LEN+1];
|
|
|
|
DHCP_IP_ADDRESS g_ScopeIpAddress;
|
|
|
|
|
|
DWORD
|
|
WINAPI
|
|
ScopeCommit(
|
|
IN DWORD dwAction
|
|
);
|
|
|
|
NS_CONTEXT_ENTRY_FN ScopeMonitor;
|
|
|
|
|
|
DWORD
|
|
WINAPI
|
|
ScopeUnInit(
|
|
IN DWORD dwReserved
|
|
);
|
|
|
|
BOOL
|
|
SetScopeInfo(
|
|
IN LPWSTR pwszScope
|
|
);
|