/*++ Copyright (c) 1994 Microsoft Corporation Module Name: dhcpcli.h Abstract: This file is the central include file for the DHCP client service. Author: Manny Weiser (mannyw) 20-Oct-1992 Environment: User Mode - Win32 Revision History: Madan Appiah (madana) 21-Oct-1993 --*/ #ifndef _DHCPCLI_H_ #define _DHCPCLI_H_ // // NT public header files // #include #include #include #ifdef VXD #define WIN32_LEAN_AND_MEAN // Don't include extraneous headers #endif #include // (spec. winsock.h) #include // // DHCP public header files // #include #include #if !defined(VXD) #include #endif // // C Runtime Lib. // #include #include #include #include // // Local header files // #include #include #include #ifdef VXD #include #else #include #endif #if defined(_PNP_POWER_) #include #ifndef VXD #include #endif #endif _PNP_POWER_ #include #ifdef VXD #include #endif // // debug heap // #include #ifndef VXD #ifdef DBG #ifdef __DHCP_USE_DEBUG_HEAP__ #pragma message ( "*** DHCP Client will use debug heap ***" ) #define DhcpAllocateMemory(x) ALLOCATE_MEMORY(LPTR,x) #define DhcpFreeMemory(x) FREE_MEMORY(x) #endif #endif #endif #ifdef CHICAGO #define _WINNT_ #include #endif // CHICAGO // // Macros for pageable code. // #define CTEMakePageable( _Page, _Routine ) \ alloc_text(_Page,_Routine) #ifdef CHICAGO #define ALLOC_PRAGMA #undef INIT #define INIT _ITEXT #undef PAGE #define PAGE _PTEXT #define PAGEDHCP _PTEXT #endif // CHICAGO #if defined(CHICAGO) && defined(DEBUG) // // This is asserts when the pageable code is called at inappropriate time. // Since in reality all our pageable code is dynamically locked, there is no // need for this. // //#define CTEPagedCode() _Debug_Flags_Service(DFS_TEST_REENTER+DFS_TEST_BLOCK) #define CTEPagedCode() #else #define CTEPagedCode() #endif #include #include #include #endif //_DHCPCLI_H_