[DNSAPI] Correct and improve DnsFlushResolverCacheEntry_A() stub. CORE-10912
[reactos.git] / reactos / dll / win32 / dnsapi / dnsapi / stubs.c
1 #include "precomp.h"
2
3 #include <debug.h>
4
5 DNS_STATUS WINAPI
6 DnsAddRecordSet_A()
7 {
8 UNIMPLEMENTED;
9 return ERROR_OUTOFMEMORY;
10 }
11
12 DNS_STATUS WINAPI
13 DnsAddRecordSet_UTF8()
14 {
15 UNIMPLEMENTED;
16 return ERROR_OUTOFMEMORY;
17 }
18
19 DNS_STATUS WINAPI
20 DnsAddRecordSet_W()
21 {
22 UNIMPLEMENTED;
23 return ERROR_OUTOFMEMORY;
24 }
25
26 DNS_STATUS WINAPI
27 DnsAllocateRecord()
28 {
29 UNIMPLEMENTED;
30 return ERROR_OUTOFMEMORY;
31 }
32
33 DNS_STATUS WINAPI
34 DnsApiHeapReset()
35 {
36 UNIMPLEMENTED;
37 return ERROR_OUTOFMEMORY;
38 }
39
40 DNS_STATUS WINAPI
41 DnsAsyncRegisterHostAddrs_A()
42 {
43 UNIMPLEMENTED;
44 return ERROR_OUTOFMEMORY;
45 }
46
47 DNS_STATUS WINAPI
48 DnsAsyncRegisterHostAddrs_UTF8()
49 {
50 UNIMPLEMENTED;
51 return ERROR_OUTOFMEMORY;
52 }
53
54 DNS_STATUS WINAPI
55 DnsAsyncRegisterHostAddrs_W()
56 {
57 UNIMPLEMENTED;
58 return ERROR_OUTOFMEMORY;
59 }
60
61 DNS_STATUS WINAPI
62 DnsAsyncRegisterInit()
63 {
64 UNIMPLEMENTED;
65 return ERROR_OUTOFMEMORY;
66 }
67
68 DNS_STATUS WINAPI
69 DnsAsyncRegisterTerm()
70 {
71 UNIMPLEMENTED;
72 return ERROR_OUTOFMEMORY;
73 }
74
75 DNS_STATUS WINAPI
76 DnsCheckNameCollision_A()
77 {
78 UNIMPLEMENTED;
79 return ERROR_OUTOFMEMORY;
80 }
81
82 DNS_STATUS WINAPI
83 DnsCheckNameCollision_UTF8()
84 {
85 UNIMPLEMENTED;
86 return ERROR_OUTOFMEMORY;
87 }
88
89 DNS_STATUS WINAPI
90 DnsCheckNameCollision_W()
91 {
92 UNIMPLEMENTED;
93 return ERROR_OUTOFMEMORY;
94 }
95
96 DNS_STATUS WINAPI
97 DnsCopyStringEx()
98 {
99 UNIMPLEMENTED;
100 return ERROR_OUTOFMEMORY;
101 }
102
103 DNS_STATUS WINAPI
104 DnsCreateReverseNameStringForIpAddress()
105 {
106 UNIMPLEMENTED;
107 return ERROR_OUTOFMEMORY;
108 }
109
110 DNS_STATUS WINAPI
111 DnsCreateStandardDnsNameCopy()
112 {
113 UNIMPLEMENTED;
114 return ERROR_OUTOFMEMORY;
115 }
116
117 DNS_STATUS WINAPI
118 DnsCreateStringCopy()
119 {
120 UNIMPLEMENTED;
121 return ERROR_OUTOFMEMORY;
122 }
123
124 DNS_STATUS WINAPI
125 DnsDhcpSrvRegisterHostName_W()
126 {
127 UNIMPLEMENTED;
128 return ERROR_OUTOFMEMORY;
129 }
130
131 DNS_STATUS WINAPI
132 DnsDhcpSrvRegisterInit()
133 {
134 UNIMPLEMENTED;
135 return ERROR_OUTOFMEMORY;
136 }
137
138 DNS_STATUS WINAPI
139 DnsDhcpSrvRegisterTerm()
140 {
141 UNIMPLEMENTED;
142 return ERROR_OUTOFMEMORY;
143 }
144
145 DNS_STATUS WINAPI
146 DnsDisableAdapterDomainNameRegistration()
147 {
148 UNIMPLEMENTED;
149 return ERROR_OUTOFMEMORY;
150 }
151
152 DNS_STATUS WINAPI
153 DnsDisableBNodeResolverThread()
154 {
155 UNIMPLEMENTED;
156 return ERROR_OUTOFMEMORY;
157 }
158
159 DNS_STATUS WINAPI
160 DnsDisableDynamicRegistration()
161 {
162 UNIMPLEMENTED;
163 return ERROR_OUTOFMEMORY;
164 }
165
166 DNS_STATUS WINAPI
167 DnsDowncaseDnsNameLabel()
168 {
169 UNIMPLEMENTED;
170 return ERROR_OUTOFMEMORY;
171 }
172
173 DNS_STATUS WINAPI
174 DnsEnableAdapterDomainNameRegistration()
175 {
176 UNIMPLEMENTED;
177 return ERROR_OUTOFMEMORY;
178 }
179
180 DNS_STATUS WINAPI
181 DnsEnableBNodeResolverThread()
182 {
183 UNIMPLEMENTED;
184 return ERROR_OUTOFMEMORY;
185 }
186
187 DNS_STATUS WINAPI
188 DnsEnableDynamicRegistration()
189 {
190 UNIMPLEMENTED;
191 return ERROR_OUTOFMEMORY;
192 }
193
194 DNS_STATUS WINAPI
195 DnsExtractRecordsFromMessage_UTF8(PDNS_MESSAGE_BUFFER pDnsBuffer,
196 WORD wMessageLength,
197 PDNS_RECORD* ppRecord)
198 {
199 UNIMPLEMENTED;
200 return ERROR_OUTOFMEMORY;
201 }
202
203 DNS_STATUS WINAPI
204 DnsExtractRecordsFromMessage_W(PDNS_MESSAGE_BUFFER pDnsBuffer,
205 WORD wMessageLength,
206 PDNS_RECORD* ppRecord)
207 {
208 UNIMPLEMENTED;
209 return ERROR_OUTOFMEMORY;
210 }
211
212 DNS_STATUS WINAPI
213 DnsFindAuthoritativeZone()
214 {
215 UNIMPLEMENTED;
216 return ERROR_OUTOFMEMORY;
217 }
218
219 DNS_STATUS WINAPI
220 DnsFlushResolverCache()
221 {
222 UNIMPLEMENTED;
223 return ERROR_OUTOFMEMORY;
224 }
225
226 BOOL WINAPI
227 DnsFlushResolverCacheEntry_A(PCSTR entry)
228 {
229 DPRINT1("DnsFlushResolverCacheEntry_A(%s) is stubplemented.\n", entry);
230 if (!entry) return FALSE;
231 return TRUE;
232 }
233
234 DNS_STATUS WINAPI
235 DnsFlushResolverCacheEntry_UTF8()
236 {
237 UNIMPLEMENTED;
238 return ERROR_OUTOFMEMORY;
239 }
240
241 DNS_STATUS WINAPI
242 DnsFlushResolverCacheEntry_W()
243 {
244 UNIMPLEMENTED;
245 return ERROR_OUTOFMEMORY;
246 }
247
248 DNS_STATUS WINAPI
249 DnsFreeAdapterInformation()
250 {
251 UNIMPLEMENTED;
252 return ERROR_OUTOFMEMORY;
253 }
254
255 DNS_STATUS WINAPI
256 DnsFreeNetworkInformation()
257 {
258 UNIMPLEMENTED;
259 return ERROR_OUTOFMEMORY;
260 }
261
262 DNS_STATUS WINAPI
263 DnsFreeSearchInformation()
264 {
265 UNIMPLEMENTED;
266 return ERROR_OUTOFMEMORY;
267 }
268
269 DNS_STATUS WINAPI
270 DnsGetBufferLengthForStringCopy()
271 {
272 UNIMPLEMENTED;
273 return ERROR_OUTOFMEMORY;
274 }
275
276 DNS_STATUS WINAPI
277 DnsGetCacheDataTable()
278 {
279 UNIMPLEMENTED;
280 return ERROR_OUTOFMEMORY;
281 }
282
283 DNS_STATUS WINAPI
284 DnsGetDnsServerList()
285 {
286 UNIMPLEMENTED;
287 return ERROR_OUTOFMEMORY;
288 }
289
290 DNS_STATUS WINAPI
291 DnsGetDomainName()
292 {
293 UNIMPLEMENTED;
294 return ERROR_OUTOFMEMORY;
295 }
296
297 DNS_STATUS WINAPI
298 DnsGetHostName_A()
299 {
300 UNIMPLEMENTED;
301 return ERROR_OUTOFMEMORY;
302 }
303
304 DNS_STATUS WINAPI
305 DnsGetHostName_UTF8()
306 {
307 UNIMPLEMENTED;
308 return ERROR_OUTOFMEMORY;
309 }
310
311 DNS_STATUS WINAPI
312 DnsGetHostName_W()
313 {
314 UNIMPLEMENTED;
315 return ERROR_OUTOFMEMORY;
316 }
317
318 DNS_STATUS WINAPI
319 DnsGetIpAddressInfoList()
320 {
321 UNIMPLEMENTED;
322 return ERROR_OUTOFMEMORY;
323 }
324
325 DNS_STATUS WINAPI
326 DnsGetIpAddressList()
327 {
328 UNIMPLEMENTED;
329 return ERROR_OUTOFMEMORY;
330 }
331
332 DNS_STATUS WINAPI
333 DnsGetLastServerUpdateIP()
334 {
335 UNIMPLEMENTED;
336 return ERROR_OUTOFMEMORY;
337 }
338
339 DNS_STATUS WINAPI
340 DnsGetMaxNumberOfAddressesToRegister()
341 {
342 UNIMPLEMENTED;
343 return ERROR_OUTOFMEMORY;
344 }
345
346 DNS_STATUS WINAPI
347 DnsGetNetworkInformation()
348 {
349 UNIMPLEMENTED;
350 return ERROR_OUTOFMEMORY;
351 }
352
353 DNS_STATUS WINAPI
354 DnsGetPrimaryDomainName_A()
355 {
356 UNIMPLEMENTED;
357 return ERROR_OUTOFMEMORY;
358 }
359
360 DNS_STATUS WINAPI
361 DnsGetPrimaryDomainName_UTF8()
362 {
363 UNIMPLEMENTED;
364 return ERROR_OUTOFMEMORY;
365 }
366
367 DNS_STATUS WINAPI
368 DnsGetPrimaryDomainName_W()
369 {
370 UNIMPLEMENTED;
371 return ERROR_OUTOFMEMORY;
372 }
373
374 DNS_STATUS WINAPI
375 DnsGetSearchInformation()
376 {
377 UNIMPLEMENTED;
378 return ERROR_OUTOFMEMORY;
379 }
380
381 DNS_STATUS WINAPI
382 DnsIpv6AddressToString()
383 {
384 UNIMPLEMENTED;
385 return ERROR_OUTOFMEMORY;
386 }
387
388 DNS_STATUS WINAPI
389 DnsIpv6StringToAddress()
390 {
391 UNIMPLEMENTED;
392 return ERROR_OUTOFMEMORY;
393 }
394
395 DNS_STATUS WINAPI
396 DnsIsAMailboxType()
397 {
398 UNIMPLEMENTED;
399 return ERROR_OUTOFMEMORY;
400 }
401
402 DNS_STATUS WINAPI
403 DnsIsAdapterDomainNameRegistrationEnabled()
404 {
405 UNIMPLEMENTED;
406 return ERROR_OUTOFMEMORY;
407 }
408
409 DNS_STATUS WINAPI
410 DnsIsDynamicRegistrationEnabled()
411 {
412 UNIMPLEMENTED;
413 return ERROR_OUTOFMEMORY;
414 }
415
416 DNS_STATUS WINAPI
417 DnsIsStatusRcode()
418 {
419 UNIMPLEMENTED;
420 return ERROR_OUTOFMEMORY;
421 }
422
423 DNS_STATUS WINAPI
424 DnsIsStringCountValidForTextType()
425 {
426 UNIMPLEMENTED;
427 return ERROR_OUTOFMEMORY;
428 }
429
430 DNS_STATUS WINAPI
431 DnsMapRcodeToStatus()
432 {
433 UNIMPLEMENTED;
434 return ERROR_OUTOFMEMORY;
435 }
436
437 DNS_STATUS WINAPI
438 DnsModifyRecordSet_A()
439 {
440 UNIMPLEMENTED;
441 return ERROR_OUTOFMEMORY;
442 }
443
444 DNS_STATUS WINAPI
445 DnsModifyRecordSet_UTF8()
446 {
447 UNIMPLEMENTED;
448 return ERROR_OUTOFMEMORY;
449 }
450
451 DNS_STATUS WINAPI
452 DnsModifyRecordSet_W()
453 {
454 UNIMPLEMENTED;
455 return ERROR_OUTOFMEMORY;
456 }
457
458 DNS_STATUS WINAPI
459 DnsModifyRecordsInSet_A(PDNS_RECORD pAddRecords,
460 PDNS_RECORD pDeleteRecords,
461 DWORD Options,
462 HANDLE hContext,
463 PIP4_ARRAY pExtraList,
464 PVOID pReserved)
465 {
466 UNIMPLEMENTED;
467 return ERROR_OUTOFMEMORY;
468 }
469
470 DNS_STATUS WINAPI
471 DnsModifyRecordsInSet_UTF8(PDNS_RECORD pAddRecords,
472 PDNS_RECORD pDeleteRecords,
473 DWORD Options,
474 HANDLE hContext,
475 PIP4_ARRAY pExtraList,
476 PVOID pReserved)
477 {
478 UNIMPLEMENTED;
479 return ERROR_OUTOFMEMORY;
480 }
481
482 DNS_STATUS WINAPI
483 DnsModifyRecordsInSet_W(PDNS_RECORD pAddRecords,
484 PDNS_RECORD pDeleteRecords,
485 DWORD Options,
486 HANDLE hContext,
487 PIP4_ARRAY pExtraList,
488 PVOID pReserved)
489 {
490 UNIMPLEMENTED;
491 return ERROR_OUTOFMEMORY;
492 }
493
494 DNS_STATUS WINAPI
495 DnsNameCompareEx_A()
496 {
497 UNIMPLEMENTED;
498 return ERROR_OUTOFMEMORY;
499 }
500
501 DNS_STATUS WINAPI
502 DnsNameCompareEx_UTF8()
503 {
504 UNIMPLEMENTED;
505 return ERROR_OUTOFMEMORY;
506 }
507
508 DNS_STATUS WINAPI
509 DnsNameCompareEx_W()
510 {
511 UNIMPLEMENTED;
512 return ERROR_OUTOFMEMORY;
513 }
514
515 DNS_STATUS WINAPI
516 DnsNameCopy()
517 {
518 UNIMPLEMENTED;
519 return ERROR_OUTOFMEMORY;
520 }
521
522 DNS_STATUS WINAPI
523 DnsNameCopyAllocate()
524 {
525 UNIMPLEMENTED;
526 return ERROR_OUTOFMEMORY;
527 }
528
529 DNS_STATUS WINAPI
530 DnsQueryConfig(DNS_CONFIG_TYPE Config,
531 DWORD Flag,
532 PWSTR pwsAdapterName,
533 PVOID pReserved,
534 PVOID pBuffer,
535 PDWORD pBufferLength)
536 {
537 UNIMPLEMENTED;
538 return ERROR_OUTOFMEMORY;
539 }
540
541 DNS_STATUS WINAPI
542 DnsQueryEx()
543 {
544 UNIMPLEMENTED;
545 return ERROR_OUTOFMEMORY;
546 }
547
548 DNS_STATUS WINAPI
549 DnsRecordBuild_UTF8()
550 {
551 UNIMPLEMENTED;
552 return ERROR_OUTOFMEMORY;
553 }
554
555 DNS_STATUS WINAPI
556 DnsRecordBuild_W()
557 {
558 UNIMPLEMENTED;
559 return ERROR_OUTOFMEMORY;
560 }
561
562 DNS_STATUS WINAPI
563 DnsRecordStringForType()
564 {
565 UNIMPLEMENTED;
566 return ERROR_OUTOFMEMORY;
567 }
568
569 DNS_STATUS WINAPI
570 DnsRecordStringForWritableType()
571 {
572 UNIMPLEMENTED;
573 return ERROR_OUTOFMEMORY;
574 }
575
576 DNS_STATUS WINAPI
577 DnsRecordTypeForName()
578 {
579 UNIMPLEMENTED;
580 return ERROR_OUTOFMEMORY;
581 }
582
583 DNS_STATUS WINAPI
584 DnsRelationalCompare_UTF8()
585 {
586 UNIMPLEMENTED;
587 return ERROR_OUTOFMEMORY;
588 }
589
590 DNS_STATUS WINAPI
591 DnsRelationalCompare_W()
592 {
593 UNIMPLEMENTED;
594 return ERROR_OUTOFMEMORY;
595 }
596
597 DNS_STATUS WINAPI
598 DnsRemoveRegistrations()
599 {
600 UNIMPLEMENTED;
601 return ERROR_OUTOFMEMORY;
602 }
603
604 DNS_STATUS WINAPI
605 DnsReplaceRecordSetA(PDNS_RECORD pNewSet,
606 DWORD Options,
607 HANDLE hContext,
608 PIP4_ARRAY pExtraInfo,
609 PVOID pReserved)
610 {
611 UNIMPLEMENTED;
612 return ERROR_OUTOFMEMORY;
613 }
614
615 DNS_STATUS WINAPI
616 DnsReplaceRecordSetUTF8(PDNS_RECORD pNewSet,
617 DWORD Options,
618 HANDLE hContext,
619 PIP4_ARRAY pExtraInfo,
620 PVOID pReserved)
621 {
622 UNIMPLEMENTED;
623 return ERROR_OUTOFMEMORY;
624 }
625
626 DNS_STATUS WINAPI
627 DnsReplaceRecordSetW(PDNS_RECORD pNewSet,
628 DWORD Options,
629 HANDLE hContext,
630 PIP4_ARRAY pExtraInfo,
631 PVOID pReserved)
632 {
633 UNIMPLEMENTED;
634 return ERROR_OUTOFMEMORY;
635 }
636
637 DNS_STATUS WINAPI
638 DnsReplaceRecordSet_A()
639 {
640 UNIMPLEMENTED;
641 return ERROR_OUTOFMEMORY;
642 }
643
644 DNS_STATUS WINAPI
645 DnsReplaceRecordSet_UTF8()
646 {
647 UNIMPLEMENTED;
648 return ERROR_OUTOFMEMORY;
649 }
650
651 DNS_STATUS WINAPI
652 DnsReplaceRecordSet_W()
653 {
654 UNIMPLEMENTED;
655 return ERROR_OUTOFMEMORY;
656 }
657
658 DNS_STATUS WINAPI
659 DnsServiceNotificationDeregister_A()
660 {
661 UNIMPLEMENTED;
662 return ERROR_OUTOFMEMORY;
663 }
664
665 DNS_STATUS WINAPI
666 DnsServiceNotificationDeregister_UTF8()
667 {
668 UNIMPLEMENTED;
669 return ERROR_OUTOFMEMORY;
670 }
671
672 DNS_STATUS WINAPI
673 DnsServiceNotificationDeregister_W()
674 {
675 UNIMPLEMENTED;
676 return ERROR_OUTOFMEMORY;
677 }
678
679 DNS_STATUS WINAPI
680 DnsServiceNotificationRegister_A()
681 {
682 UNIMPLEMENTED;
683 return ERROR_OUTOFMEMORY;
684 }
685
686 DNS_STATUS WINAPI
687 DnsServiceNotificationRegister_UTF8()
688 {
689 UNIMPLEMENTED;
690 return ERROR_OUTOFMEMORY;
691 }
692
693 DNS_STATUS WINAPI
694 DnsServiceNotificationRegister_W()
695 {
696 UNIMPLEMENTED;
697 return ERROR_OUTOFMEMORY;
698 }
699
700 DNS_STATUS WINAPI
701 DnsSetMaxNumberOfAddressesToRegister()
702 {
703 UNIMPLEMENTED;
704 return ERROR_OUTOFMEMORY;
705 }
706
707 DNS_STATUS WINAPI
708 DnsStatusString()
709 {
710 UNIMPLEMENTED;
711 return ERROR_OUTOFMEMORY;
712 }
713
714 DNS_STATUS WINAPI
715 DnsStringCopyAllocateEx()
716 {
717 UNIMPLEMENTED;
718 return ERROR_OUTOFMEMORY;
719 }
720
721 DNS_STATUS WINAPI
722 DnsUnicodeToUtf8()
723 {
724 UNIMPLEMENTED;
725 return ERROR_OUTOFMEMORY;
726 }
727
728 DNS_STATUS WINAPI
729 DnsUpdate()
730 {
731 UNIMPLEMENTED;
732 return ERROR_OUTOFMEMORY;
733 }
734
735 DNS_STATUS WINAPI
736 DnsUpdateTest_A()
737 {
738 UNIMPLEMENTED;
739 return ERROR_OUTOFMEMORY;
740 }
741
742 DNS_STATUS WINAPI
743 DnsUpdateTest_UTF8()
744 {
745 UNIMPLEMENTED;
746 return ERROR_OUTOFMEMORY;
747 }
748
749 DNS_STATUS WINAPI
750 DnsUpdateTest_W()
751 {
752 UNIMPLEMENTED;
753 return ERROR_OUTOFMEMORY;
754 }
755
756 DNS_STATUS WINAPI
757 DnsUtf8ToUnicode()
758 {
759 UNIMPLEMENTED;
760 return ERROR_OUTOFMEMORY;
761 }
762
763 DNS_STATUS WINAPI
764 DnsValidateUtf8Byte()
765 {
766 UNIMPLEMENTED;
767 return ERROR_OUTOFMEMORY;
768 }
769
770 DNS_STATUS WINAPI
771 DnsWinsRecordFlagForString()
772 {
773 UNIMPLEMENTED;
774 return ERROR_OUTOFMEMORY;
775 }
776
777 DNS_STATUS WINAPI
778 DnsWinsRecordFlagString()
779 {
780 UNIMPLEMENTED;
781 return ERROR_OUTOFMEMORY;
782 }
783
784 BOOL WINAPI
785 DnsWriteQuestionToBuffer_UTF8(PDNS_MESSAGE_BUFFER pDnsBuffer,
786 LPDWORD pdwBufferSize,
787 LPSTR pszName,
788 WORD wType,
789 WORD Xid,
790 BOOL fRecursionDesired)
791 {
792 UNIMPLEMENTED;
793 return FALSE;
794 }
795
796 BOOL WINAPI
797 DnsWriteQuestionToBuffer_W(PDNS_MESSAGE_BUFFER pDnsBuffer,
798 LPDWORD pdwBufferSize,
799 LPWSTR pszName,
800 WORD wType,
801 WORD Xid,
802 BOOL fRecursionDesired)
803 {
804 UNIMPLEMENTED;
805 return ERROR_OUTOFMEMORY;
806 }
807
808 DNS_STATUS WINAPI
809 DnsWriteReverseNameStringForIpAddress()
810 {
811 UNIMPLEMENTED;
812 return ERROR_OUTOFMEMORY;
813 }
814
815 DNS_STATUS WINAPI
816 GetCurrentTimeInSeconds()
817 {
818 UNIMPLEMENTED;
819 return ERROR_OUTOFMEMORY;
820 }
821
822 DNS_STATUS WINAPI
823 DnsNotifyResolver()
824 {
825 UNIMPLEMENTED;
826 return ERROR_OUTOFMEMORY;
827 }