// // Copyright (C) 1998 Microsoft Corporation // #define UNICODE #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include CRITICAL_SECTION DhcpGlobalInProgressCritSect; PM_SERVER DhcpGetCurrentServer( VOID ) { return NULL; } void _cdecl main(void) { DWORD RetVal; PM_SERVER ThisServer; RetVal = DhcpRegReadThisServer(&ThisServer); if( ERROR_SUCCESS != RetVal ) { printf("DhcpRegReadThisServer: %ld 0x%lx\n", RetVal, RetVal); } InitializeCriticalSection(&DhcpGlobalInProgressCritSect); DhcpRegServerFlush(ThisServer, TRUE); DeleteCriticalSection(&DhcpGlobalInProgressCritSect); MemServerFree(ThisServer); }