4 * Copyright (C) 2006 Matthew Kehrer
5 * Copyright (C) 2006 Hans Leidekker
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
29 #include "wine/debug.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(dnsapi
);
33 /******************************************************************************
34 * DnsAcquireContextHandle_A [DNSAPI.@]
37 DNS_STATUS WINAPI
DnsAcquireContextHandle_A( DWORD flags
, PVOID cred
,
40 FIXME( "(0x%08x,%p,%p) stub\n", flags
, cred
, context
);
42 *context
= (HANDLE
)0xdeadbeef;
46 /******************************************************************************
47 * DnsAcquireContextHandle_UTF8 [DNSAPI.@]
50 DNS_STATUS WINAPI
DnsAcquireContextHandle_UTF8( DWORD flags
, PVOID cred
,
53 FIXME( "(0x%08x,%p,%p) stub\n", flags
, cred
, context
);
55 *context
= (HANDLE
)0xdeadbeef;
59 /******************************************************************************
60 * DnsAcquireContextHandle_W [DNSAPI.@]
63 DNS_STATUS WINAPI
DnsAcquireContextHandle_W( DWORD flags
, PVOID cred
,
66 FIXME( "(0x%08x,%p,%p) stub\n", flags
, cred
, context
);
68 *context
= (HANDLE
)0xdeadbeef;
72 /******************************************************************************
73 * DnsFlushResolverCache [DNSAPI.@]
76 VOID WINAPI
DnsFlushResolverCache(void)
81 /******************************************************************************
82 * DnsFlushResolverCacheEntry_A [DNSAPI.@]
85 BOOL WINAPI
DnsFlushResolverCacheEntry_A( PCSTR entry
)
87 FIXME( "%s: stub\n", debugstr_a(entry
) );
88 if (!entry
) return FALSE
;
92 /******************************************************************************
93 * DnsFlushResolverCacheEntry_UTF8 [DNSAPI.@]
96 BOOL WINAPI
DnsFlushResolverCacheEntry_UTF8( PCSTR entry
)
98 FIXME( "%s: stub\n", debugstr_a(entry
) );
99 if (!entry
) return FALSE
;
103 /******************************************************************************
104 * DnsFlushResolverCacheEntry_W [DNSAPI.@]
107 BOOL WINAPI
DnsFlushResolverCacheEntry_W( PCWSTR entry
)
109 FIXME( "%s: stub\n", debugstr_w(entry
) );
110 if (!entry
) return FALSE
;
114 /******************************************************************************
115 * DnsReleaseContextHandle [DNSAPI.@]
118 VOID WINAPI
DnsReleaseContextHandle( HANDLE context
)
120 FIXME( "(%p) stub\n", context
);
123 /******************************************************************************
124 * DnsExtractRecordsFromMessage_UTF8 [DNSAPI.@]
127 DNS_STATUS WINAPI
DnsExtractRecordsFromMessage_UTF8( PDNS_MESSAGE_BUFFER buffer
,
128 WORD len
, PDNS_RECORDA
*record
)
130 FIXME( "(%p,%d,%p) stub\n", buffer
, len
, record
);
133 return ERROR_SUCCESS
;
136 /******************************************************************************
137 * DnsExtractRecordsFromMessage_W [DNSAPI.@]
140 DNS_STATUS WINAPI
DnsExtractRecordsFromMessage_W( PDNS_MESSAGE_BUFFER buffer
,
141 WORD len
, PDNS_RECORDW
*record
)
143 FIXME( "(%p,%d,%p) stub\n", buffer
, len
, record
);
146 return ERROR_SUCCESS
;
149 /******************************************************************************
150 * DnsModifyRecordsInSet_A [DNSAPI.@]
153 DNS_STATUS WINAPI
DnsModifyRecordsInSet_A( PDNS_RECORDA add
, PDNS_RECORDA
delete,
154 DWORD options
, HANDLE context
,
155 PVOID servers
, PVOID reserved
)
157 FIXME( "(%p,%p,0x%08x,%p,%p,%p) stub\n", add
, delete, options
,
158 context
, servers
, reserved
);
159 return ERROR_SUCCESS
;
162 /******************************************************************************
163 * DnsModifyRecordsInSet_UTF8 [DNSAPI.@]
166 DNS_STATUS WINAPI
DnsModifyRecordsInSet_UTF8( PDNS_RECORDA add
, PDNS_RECORDA
delete,
167 DWORD options
, HANDLE context
,
168 PVOID servers
, PVOID reserved
)
170 FIXME( "(%p,%p,0x%08x,%p,%p,%p) stub\n", add
, delete, options
,
171 context
, servers
, reserved
);
172 return ERROR_SUCCESS
;
175 /******************************************************************************
176 * DnsModifyRecordsInSet_W [DNSAPI.@]
179 DNS_STATUS WINAPI
DnsModifyRecordsInSet_W( PDNS_RECORDW add
, PDNS_RECORDW
delete,
180 DWORD options
, HANDLE context
,
181 PVOID servers
, PVOID reserved
)
183 FIXME( "(%p,%p,0x%08x,%p,%p,%p) stub\n", add
, delete, options
,
184 context
, servers
, reserved
);
185 return ERROR_SUCCESS
;
188 /******************************************************************************
189 * DnsWriteQuestionToBuffer_UTF8 [DNSAPI.@]
192 BOOL WINAPI
DnsWriteQuestionToBuffer_UTF8( PDNS_MESSAGE_BUFFER buffer
, PDWORD size
,
193 PCSTR name
, WORD type
, WORD xid
,
196 FIXME( "(%p,%p,%s,%d,%d,%d) stub\n", buffer
, size
, debugstr_a(name
),
197 type
, xid
, recurse
);
201 /******************************************************************************
202 * DnsWriteQuestionToBuffer_W [DNSAPI.@]
205 BOOL WINAPI
DnsWriteQuestionToBuffer_W( PDNS_MESSAGE_BUFFER buffer
, PDWORD size
,
206 PCWSTR name
, WORD type
, WORD xid
,
209 FIXME( "(%p,%p,%s,%d,%d,%d) stub\n", buffer
, size
, debugstr_w(name
),
210 type
, xid
, recurse
);
214 /******************************************************************************
215 * DnsReplaceRecordSetA [DNSAPI.@]
218 DNS_STATUS WINAPI
DnsReplaceRecordSetA( PDNS_RECORDA set
, DWORD options
,
219 HANDLE context
, PVOID servers
,
222 FIXME( "(%p,0x%08x,%p,%p,%p) stub\n", set
, options
, context
,
224 return ERROR_SUCCESS
;
227 /******************************************************************************
228 * DnsReplaceRecordSetUTF8 [DNSAPI.@]
231 DNS_STATUS WINAPI
DnsReplaceRecordSetUTF8( PDNS_RECORDA set
, DWORD options
,
232 HANDLE context
, PVOID servers
,
235 FIXME( "(%p,0x%08x,%p,%p,%p) stub\n", set
, options
, context
,
237 return ERROR_SUCCESS
;
240 /******************************************************************************
241 * DnsReplaceRecordSetW [DNSAPI.@]
244 DNS_STATUS WINAPI
DnsReplaceRecordSetW( PDNS_RECORDW set
, DWORD options
,
245 HANDLE context
, PVOID servers
,
248 FIXME( "(%p,0x%08x,%p,%p,%p) stub\n", set
, options
, context
,
250 return ERROR_SUCCESS
;