mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +00:00
[DNSAPI]
- Merge r45450 from aicom-network-branch svn path=/trunk/; revision=48018
This commit is contained in:
parent
795f1b72e1
commit
6ce27e86b9
3 changed files with 27 additions and 3 deletions
|
@ -12,7 +12,7 @@
|
|||
<directory name="dnsapi">
|
||||
<file>adns.c</file>
|
||||
<file>context.c</file>
|
||||
<file>free.c</file>
|
||||
<file>memory.c</file>
|
||||
<file>names.c</file>
|
||||
<file>query.c</file>
|
||||
<file>record.c</file>
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
@ stub DnsAddRecordSet_W
|
||||
@ stub DnsAllocateRecord
|
||||
@ stub DnsApiHeapReset
|
||||
@ stdcall DnsApiAlloc(long)
|
||||
@ stdcall DnsApiFree(ptr)
|
||||
@ stub DnsAsyncRegisterHostAddrs_A
|
||||
@ stub DnsAsyncRegisterHostAddrs_UTF8
|
||||
@ stub DnsAsyncRegisterHostAddrs_W
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/dnsapi/dnsapi/free.c
|
||||
* FILE: lib/dnsapi/dnsapi/memory.c
|
||||
* PURPOSE: DNSAPI functions built on the ADNS library.
|
||||
* PROGRAMER: Art Yerkes
|
||||
* UPDATE HISTORY:
|
||||
|
@ -13,6 +13,29 @@
|
|||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
VOID
|
||||
WINAPI
|
||||
DnsApiFree(IN PVOID Data)
|
||||
{
|
||||
RtlFreeHeap(RtlGetProcessHeap(), 0, Data);
|
||||
}
|
||||
|
||||
PVOID
|
||||
WINAPI
|
||||
DnsApiAlloc(IN DWORD Size)
|
||||
{
|
||||
return RtlAllocateHeap(RtlGetProcessHeap(), 0, Size);
|
||||
}
|
||||
|
||||
PVOID
|
||||
WINAPI
|
||||
DnsQueryConfigAllocEx(IN DNS_CONFIG_TYPE Config,
|
||||
OUT PVOID pBuffer,
|
||||
IN OUT PDWORD pBufferLength)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
VOID WINAPI
|
||||
DnsFree(PVOID Data,
|
||||
DNS_FREE_TYPE FreeType)
|
||||
|
@ -32,4 +55,3 @@ DnsFree(PVOID Data,
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue