wined3d: Use the correct colour sources in process_vertices_strided().
[wine.git] / dlls / dnsapi / main.c
blob6cb3b493b77435022be9542794a78b77d570fd48
1 /*
2 * DNS support
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
22 #include <stdarg.h>
24 #include "windef.h"
25 #include "winbase.h"
26 #include "winerror.h"
27 #include "windns.h"
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,
38 PHANDLE context )
40 FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
42 *context = (HANDLE)0xdeadbeef;
43 return ERROR_SUCCESS;
46 /******************************************************************************
47 * DnsAcquireContextHandle_UTF8 [DNSAPI.@]
50 DNS_STATUS WINAPI DnsAcquireContextHandle_UTF8( DWORD flags, PVOID cred,
51 PHANDLE context )
53 FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
55 *context = (HANDLE)0xdeadbeef;
56 return ERROR_SUCCESS;
59 /******************************************************************************
60 * DnsAcquireContextHandle_W [DNSAPI.@]
63 DNS_STATUS WINAPI DnsAcquireContextHandle_W( DWORD flags, PVOID cred,
64 PHANDLE context )
66 FIXME( "(0x%08x,%p,%p) stub\n", flags, cred, context );
68 *context = (HANDLE)0xdeadbeef;
69 return ERROR_SUCCESS;
72 /******************************************************************************
73 * DnsFlushResolverCache [DNSAPI.@]
76 VOID WINAPI DnsFlushResolverCache(void)
78 FIXME(": stub\n");
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;
89 return TRUE;
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;
100 return TRUE;
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;
111 return TRUE;
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 );
132 *record = NULL;
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 );
145 *record = NULL;
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,
194 BOOL recurse )
196 FIXME( "(%p,%p,%s,%d,%d,%d) stub\n", buffer, size, debugstr_a(name),
197 type, xid, recurse );
198 return FALSE;
201 /******************************************************************************
202 * DnsWriteQuestionToBuffer_W [DNSAPI.@]
205 BOOL WINAPI DnsWriteQuestionToBuffer_W( PDNS_MESSAGE_BUFFER buffer, PDWORD size,
206 PCWSTR name, WORD type, WORD xid,
207 BOOL recurse )
209 FIXME( "(%p,%p,%s,%d,%d,%d) stub\n", buffer, size, debugstr_w(name),
210 type, xid, recurse );
211 return FALSE;
214 /******************************************************************************
215 * DnsReplaceRecordSetA [DNSAPI.@]
218 DNS_STATUS WINAPI DnsReplaceRecordSetA( PDNS_RECORDA set, DWORD options,
219 HANDLE context, PVOID servers,
220 PVOID reserved )
222 FIXME( "(%p,0x%08x,%p,%p,%p) stub\n", set, options, context,
223 servers, reserved );
224 return ERROR_SUCCESS;
227 /******************************************************************************
228 * DnsReplaceRecordSetUTF8 [DNSAPI.@]
231 DNS_STATUS WINAPI DnsReplaceRecordSetUTF8( PDNS_RECORDA set, DWORD options,
232 HANDLE context, PVOID servers,
233 PVOID reserved )
235 FIXME( "(%p,0x%08x,%p,%p,%p) stub\n", set, options, context,
236 servers, reserved );
237 return ERROR_SUCCESS;
240 /******************************************************************************
241 * DnsReplaceRecordSetW [DNSAPI.@]
244 DNS_STATUS WINAPI DnsReplaceRecordSetW( PDNS_RECORDW set, DWORD options,
245 HANDLE context, PVOID servers,
246 PVOID reserved )
248 FIXME( "(%p,0x%08x,%p,%p,%p) stub\n", set, options, context,
249 servers, reserved );
250 return ERROR_SUCCESS;