Author: akhaldi
Date: Thu Jan 23 11:16:46 2014
New Revision: 61762
URL:
http://svn.reactos.org/svn/reactos?rev=61762&view=rev
Log:
[DNSAPI]
* Improve header inclusions.
CORE-7716
Modified:
trunk/reactos/dll/win32/dnsapi/dnsapi/precomp.h
trunk/reactos/dll/win32/dnsapi/dnsapi/record.c
trunk/reactos/dll/win32/dnsapi/dnsapi/stubs.c
trunk/reactos/dll/win32/dnsapi/include/internal/windns.h
Modified: trunk/reactos/dll/win32/dnsapi/dnsapi/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dnsapi/dnsapi/pr…
==============================================================================
--- trunk/reactos/dll/win32/dnsapi/dnsapi/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dnsapi/dnsapi/precomp.h [iso-8859-1] Thu Jan 23 11:16:46 2014
@@ -8,14 +8,17 @@
/* INCLUDES ******************************************************************/
-#define WIN32_NO_STATUS
-#define WIN32_LEAN_AND_MEAN
-#define NTOS_MODE_USER
+#include <stdarg.h>
/* PSDK/NDK Headers */
-#include <windows.h>
-//#include <winerror.h>
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+#include <windef.h>
+#include <winbase.h>
+#include <winnls.h>
#include <windns.h>
+#define NTOS_MODE_USER
#include <ndk/rtlfuncs.h>
/* Internal DNSAPI Headers */
Modified: trunk/reactos/dll/win32/dnsapi/dnsapi/record.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dnsapi/dnsapi/re…
==============================================================================
--- trunk/reactos/dll/win32/dnsapi/dnsapi/record.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dnsapi/dnsapi/record.c [iso-8859-1] Thu Jan 23 11:16:46 2014
@@ -17,6 +17,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+
#include "precomp.h"
#define NDEBUG
Modified: trunk/reactos/dll/win32/dnsapi/dnsapi/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dnsapi/dnsapi/st…
==============================================================================
--- trunk/reactos/dll/win32/dnsapi/dnsapi/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dnsapi/dnsapi/stubs.c [iso-8859-1] Thu Jan 23 11:16:46 2014
@@ -1,4 +1,5 @@
#include "precomp.h"
+
#include <debug.h>
DNS_STATUS WINAPI
Modified: trunk/reactos/dll/win32/dnsapi/include/internal/windns.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dnsapi/include/i…
==============================================================================
--- trunk/reactos/dll/win32/dnsapi/include/internal/windns.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dnsapi/include/internal/windns.h [iso-8859-1] Thu Jan 23
11:16:46 2014
@@ -11,4 +11,4 @@
DNS_STATUS DnsIntTranslateAdnsToDNS_STATUS(int Status);
void DnsIntFreeRecordList(PDNS_RECORD ToFree);
-#endif//WINDNS_INTERNAL_H
+#endif /* WINDNS_INTERNAL_H */