Leaked source code of windows server 2003
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.
 
 
 
 
 
 

89 lines
1.6 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
--*/
extern HANDLE g_hModule;
extern HANDLE g_hDhcpsapiModule;
extern BOOL g_bCommit;
extern BOOL g_hConnect;
extern DWORD g_dwNumTableEntries;
extern PWCHAR g_pwszRouter;
extern ULONG g_ulInitCount;
extern ULONG g_ulNumTopCmds;
extern ULONG g_ulNumGroups;
extern LPWSTR g_pwszServer;
extern LPSTR g_ServerNameAnsi;
extern WCHAR g_ServerIpAddressUnicodeString[MAX_IP_STRING_LEN+1];
extern CHAR g_ServerIpAddressAnsiString[MAX_IP_STRING_LEN+1];
extern WCHAR g_ScopeIpAddressUnicodeString[MAX_IP_STRING_LEN+1];
extern CHAR g_ScopeIpAddressAnsiString[MAX_IP_STRING_LEN+1];
extern LPWSTR g_MScopeNameUnicodeString;
extern LPSTR g_MScopeNameAnsiString;
extern LPWSTR g_UserClass;
extern BOOL g_fUserClass;
extern LPWSTR g_VendorClass;
extern BOOL g_fIsVendor;
DWORD
WINAPI
DhcpCommit(
IN DWORD dwAction
);
BOOL
WINAPI
DhcpDllEntry(
HINSTANCE hInstDll,
DWORD fdwReason,
LPVOID pReserved
);
NS_CONTEXT_ENTRY_FN DhcpMonitor;
DWORD
WINAPI
DhcpUnInit(
IN DWORD dwReserved
);
BOOL
SetServerInfo(
IN LPCWSTR pwszServerInfo
);
BOOL
IsHelpToken(
PWCHAR pwszToken
);
BOOL
IsReservedKeyWord(
PWCHAR pwszToken
);
DWORD
DisplayErrorMessage(
HANDLE hModule,
DWORD dwMsgID,
DWORD dwErrID,
...
);