mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:16:17 +00:00
Build dnsapi with NDK
svn path=/trunk/; revision=16163
This commit is contained in:
parent
d53d55734a
commit
c3151ba005
5 changed files with 5 additions and 10 deletions
|
@ -12,7 +12,7 @@
|
||||||
#include <winerror.h>
|
#include <winerror.h>
|
||||||
#include <windns.h>
|
#include <windns.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ntos.h>
|
#include <ndk/ntndk.h>
|
||||||
#include <internal/windns.h>
|
#include <internal/windns.h>
|
||||||
|
|
||||||
/* DnsAcquireContextHandle *************
|
/* DnsAcquireContextHandle *************
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#include <windns.h>
|
#include <windns.h>
|
||||||
#include <internal/windns.h>
|
#include <internal/windns.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ntos.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
VOID WINAPI DnsFree
|
VOID WINAPI DnsFree
|
||||||
( PVOID Data, DNS_FREE_TYPE FreeType ) {
|
( PVOID Data, DNS_FREE_TYPE FreeType ) {
|
||||||
|
|
|
@ -3,10 +3,7 @@
|
||||||
#include <windns.h>
|
#include <windns.h>
|
||||||
#include <internal/windns.h>
|
#include <internal/windns.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ntos.h>
|
#include <ndk/ntndk.h>
|
||||||
#include <wchar.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
static BOOL DnsIntNameContainsDots( LPCWSTR Name ) {
|
static BOOL DnsIntNameContainsDots( LPCWSTR Name ) {
|
||||||
return wcschr( Name, '.' ) ? TRUE : FALSE;
|
return wcschr( Name, '.' ) ? TRUE : FALSE;
|
||||||
|
|
|
@ -12,9 +12,8 @@
|
||||||
#include <winerror.h>
|
#include <winerror.h>
|
||||||
#include <windns.h>
|
#include <windns.h>
|
||||||
#include <internal/windns.h>
|
#include <internal/windns.h>
|
||||||
#include <string.h>
|
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ntos.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
/* DnsQuery ****************************
|
/* DnsQuery ****************************
|
||||||
* Begin a DNS query, and allow the result to be placed in the application
|
* Begin a DNS query, and allow the result to be placed in the application
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
/*#include <windns.h>*/
|
|
||||||
#include <winerror.h>
|
#include <winerror.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ntos.h>
|
#include <ndk/ntndk.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
typedef ULONG DNS_STATUS;
|
typedef ULONG DNS_STATUS;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue