xref: /reactos/dll/win32/dnsapi/stubs.c (revision bd712186)
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 BOOL WINAPI
220 DnsFlushResolverCacheEntry_A(PCSTR entry)
221 {
222     DPRINT1("DnsFlushResolverCacheEntry_A(%s) is stubplemented.\n", entry);
223     if (!entry) return FALSE;
224     return TRUE;
225 }
226 
227 DNS_STATUS WINAPI
228 DnsFlushResolverCacheEntry_UTF8()
229 {
230     UNIMPLEMENTED;
231     return ERROR_OUTOFMEMORY;
232 }
233 
234 DNS_STATUS WINAPI
235 DnsFlushResolverCacheEntry_W()
236 {
237     UNIMPLEMENTED;
238     return ERROR_OUTOFMEMORY;
239 }
240 
241 DNS_STATUS WINAPI
242 DnsFreeAdapterInformation()
243 {
244     UNIMPLEMENTED;
245     return ERROR_OUTOFMEMORY;
246 }
247 
248 DNS_STATUS WINAPI
249 DnsFreeNetworkInformation()
250 {
251     UNIMPLEMENTED;
252     return ERROR_OUTOFMEMORY;
253 }
254 
255 DNS_STATUS WINAPI
256 DnsFreeSearchInformation()
257 {
258     UNIMPLEMENTED;
259     return ERROR_OUTOFMEMORY;
260 }
261 
262 DNS_STATUS WINAPI
263 DnsGetBufferLengthForStringCopy()
264 {
265     UNIMPLEMENTED;
266     return ERROR_OUTOFMEMORY;
267 }
268 
269 DNS_STATUS WINAPI
270 DnsGetDnsServerList()
271 {
272     UNIMPLEMENTED;
273     return ERROR_OUTOFMEMORY;
274 }
275 
276 DNS_STATUS WINAPI
277 DnsGetDomainName()
278 {
279     UNIMPLEMENTED;
280     return ERROR_OUTOFMEMORY;
281 }
282 
283 DNS_STATUS WINAPI
284 DnsGetHostName_A()
285 {
286     UNIMPLEMENTED;
287     return ERROR_OUTOFMEMORY;
288 }
289 
290 DNS_STATUS WINAPI
291 DnsGetHostName_UTF8()
292 {
293     UNIMPLEMENTED;
294     return ERROR_OUTOFMEMORY;
295 }
296 
297 DNS_STATUS WINAPI
298 DnsGetHostName_W()
299 {
300     UNIMPLEMENTED;
301     return ERROR_OUTOFMEMORY;
302 }
303 
304 DNS_STATUS WINAPI
305 DnsGetIpAddressInfoList()
306 {
307     UNIMPLEMENTED;
308     return ERROR_OUTOFMEMORY;
309 }
310 
311 DNS_STATUS WINAPI
312 DnsGetIpAddressList()
313 {
314     UNIMPLEMENTED;
315     return ERROR_OUTOFMEMORY;
316 }
317 
318 DNS_STATUS WINAPI
319 DnsGetLastServerUpdateIP()
320 {
321     UNIMPLEMENTED;
322     return ERROR_OUTOFMEMORY;
323 }
324 
325 DNS_STATUS WINAPI
326 DnsGetMaxNumberOfAddressesToRegister()
327 {
328     UNIMPLEMENTED;
329     return ERROR_OUTOFMEMORY;
330 }
331 
332 DNS_STATUS WINAPI
333 DnsGetNetworkInformation()
334 {
335     UNIMPLEMENTED;
336     return ERROR_OUTOFMEMORY;
337 }
338 
339 DNS_STATUS WINAPI
340 DnsGetPrimaryDomainName_A()
341 {
342     UNIMPLEMENTED;
343     return ERROR_OUTOFMEMORY;
344 }
345 
346 DNS_STATUS WINAPI
347 DnsGetPrimaryDomainName_UTF8()
348 {
349     UNIMPLEMENTED;
350     return ERROR_OUTOFMEMORY;
351 }
352 
353 DNS_STATUS WINAPI
354 DnsGetPrimaryDomainName_W()
355 {
356     UNIMPLEMENTED;
357     return ERROR_OUTOFMEMORY;
358 }
359 
360 DNS_STATUS WINAPI
361 DnsGetSearchInformation()
362 {
363     UNIMPLEMENTED;
364     return ERROR_OUTOFMEMORY;
365 }
366 
367 DNS_STATUS WINAPI
368 DnsIpv6AddressToString()
369 {
370     UNIMPLEMENTED;
371     return ERROR_OUTOFMEMORY;
372 }
373 
374 DNS_STATUS WINAPI
375 DnsIpv6StringToAddress()
376 {
377     UNIMPLEMENTED;
378     return ERROR_OUTOFMEMORY;
379 }
380 
381 DNS_STATUS WINAPI
382 DnsIsAMailboxType()
383 {
384     UNIMPLEMENTED;
385     return ERROR_OUTOFMEMORY;
386 }
387 
388 DNS_STATUS WINAPI
389 DnsIsAdapterDomainNameRegistrationEnabled()
390 {
391     UNIMPLEMENTED;
392     return ERROR_OUTOFMEMORY;
393 }
394 
395 DNS_STATUS WINAPI
396 DnsIsDynamicRegistrationEnabled()
397 {
398     UNIMPLEMENTED;
399     return ERROR_OUTOFMEMORY;
400 }
401 
402 DNS_STATUS WINAPI
403 DnsIsStatusRcode()
404 {
405     UNIMPLEMENTED;
406     return ERROR_OUTOFMEMORY;
407 }
408 
409 DNS_STATUS WINAPI
410 DnsIsStringCountValidForTextType()
411 {
412     UNIMPLEMENTED;
413     return ERROR_OUTOFMEMORY;
414 }
415 
416 DNS_STATUS WINAPI
417 DnsMapRcodeToStatus()
418 {
419     UNIMPLEMENTED;
420     return ERROR_OUTOFMEMORY;
421 }
422 
423 DNS_STATUS WINAPI
424 DnsModifyRecordSet_A()
425 {
426     UNIMPLEMENTED;
427     return ERROR_OUTOFMEMORY;
428 }
429 
430 DNS_STATUS WINAPI
431 DnsModifyRecordSet_UTF8()
432 {
433     UNIMPLEMENTED;
434     return ERROR_OUTOFMEMORY;
435 }
436 
437 DNS_STATUS WINAPI
438 DnsModifyRecordSet_W()
439 {
440     UNIMPLEMENTED;
441     return ERROR_OUTOFMEMORY;
442 }
443 
444 DNS_STATUS WINAPI
445 DnsModifyRecordsInSet_A(PDNS_RECORD pAddRecords,
446                         PDNS_RECORD pDeleteRecords,
447                         DWORD Options,
448                         HANDLE hContext,
449                         PIP4_ARRAY pExtraList,
450                         PVOID pReserved)
451 {
452     UNIMPLEMENTED;
453     return ERROR_OUTOFMEMORY;
454 }
455 
456 DNS_STATUS WINAPI
457 DnsModifyRecordsInSet_UTF8(PDNS_RECORD pAddRecords,
458                            PDNS_RECORD pDeleteRecords,
459                            DWORD Options,
460                            HANDLE hContext,
461                            PIP4_ARRAY pExtraList,
462                            PVOID pReserved)
463 {
464     UNIMPLEMENTED;
465     return ERROR_OUTOFMEMORY;
466 }
467 
468 DNS_STATUS WINAPI
469 DnsModifyRecordsInSet_W(PDNS_RECORD pAddRecords,
470                         PDNS_RECORD pDeleteRecords,
471                         DWORD Options,
472                         HANDLE hContext,
473                         PIP4_ARRAY pExtraList,
474                         PVOID pReserved)
475 {
476     UNIMPLEMENTED;
477     return ERROR_OUTOFMEMORY;
478 }
479 
480 DNS_STATUS WINAPI
481 DnsNameCompareEx_A()
482 {
483     UNIMPLEMENTED;
484     return ERROR_OUTOFMEMORY;
485 }
486 
487 DNS_STATUS WINAPI
488 DnsNameCompareEx_UTF8()
489 {
490     UNIMPLEMENTED;
491     return ERROR_OUTOFMEMORY;
492 }
493 
494 DNS_STATUS WINAPI
495 DnsNameCompareEx_W()
496 {
497     UNIMPLEMENTED;
498     return ERROR_OUTOFMEMORY;
499 }
500 
501 DNS_STATUS WINAPI
502 DnsNameCopy()
503 {
504     UNIMPLEMENTED;
505     return ERROR_OUTOFMEMORY;
506 }
507 
508 DNS_STATUS WINAPI
509 DnsNameCopyAllocate()
510 {
511     UNIMPLEMENTED;
512     return ERROR_OUTOFMEMORY;
513 }
514 
515 DNS_STATUS WINAPI
516 DnsQueryConfig(DNS_CONFIG_TYPE Config,
517                DWORD Flag,
518                PWSTR pwsAdapterName,
519                PVOID pReserved,
520                PVOID pBuffer,
521                PDWORD pBufferLength)
522 {
523     UNIMPLEMENTED;
524     return ERROR_OUTOFMEMORY;
525 }
526 
527 DNS_STATUS WINAPI
528 DnsQueryEx()
529 {
530     UNIMPLEMENTED;
531     return ERROR_OUTOFMEMORY;
532 }
533 
534 DNS_STATUS WINAPI
535 DnsRecordBuild_UTF8()
536 {
537     UNIMPLEMENTED;
538     return ERROR_OUTOFMEMORY;
539 }
540 
541 DNS_STATUS WINAPI
542 DnsRecordBuild_W()
543 {
544     UNIMPLEMENTED;
545     return ERROR_OUTOFMEMORY;
546 }
547 
548 DNS_STATUS WINAPI
549 DnsRecordStringForType()
550 {
551     UNIMPLEMENTED;
552     return ERROR_OUTOFMEMORY;
553 }
554 
555 DNS_STATUS WINAPI
556 DnsRecordStringForWritableType()
557 {
558     UNIMPLEMENTED;
559     return ERROR_OUTOFMEMORY;
560 }
561 
562 DNS_STATUS WINAPI
563 DnsRecordTypeForName()
564 {
565     UNIMPLEMENTED;
566     return ERROR_OUTOFMEMORY;
567 }
568 
569 DNS_STATUS WINAPI
570 DnsRelationalCompare_UTF8()
571 {
572     UNIMPLEMENTED;
573     return ERROR_OUTOFMEMORY;
574 }
575 
576 DNS_STATUS WINAPI
577 DnsRelationalCompare_W()
578 {
579     UNIMPLEMENTED;
580     return ERROR_OUTOFMEMORY;
581 }
582 
583 DNS_STATUS WINAPI
584 DnsRemoveRegistrations()
585 {
586     UNIMPLEMENTED;
587     return ERROR_OUTOFMEMORY;
588 }
589 
590 DNS_STATUS WINAPI
591 DnsReplaceRecordSetA(PDNS_RECORD pNewSet,
592                      DWORD Options,
593                      HANDLE hContext,
594                      PIP4_ARRAY pExtraInfo,
595                      PVOID pReserved)
596 {
597     UNIMPLEMENTED;
598     return ERROR_OUTOFMEMORY;
599 }
600 
601 DNS_STATUS WINAPI
602 DnsReplaceRecordSetUTF8(PDNS_RECORD pNewSet,
603                         DWORD Options,
604                         HANDLE hContext,
605                         PIP4_ARRAY pExtraInfo,
606                         PVOID pReserved)
607 {
608     UNIMPLEMENTED;
609     return ERROR_OUTOFMEMORY;
610 }
611 
612 DNS_STATUS WINAPI
613 DnsReplaceRecordSetW(PDNS_RECORD pNewSet,
614                      DWORD Options,
615                      HANDLE hContext,
616                      PIP4_ARRAY pExtraInfo,
617                      PVOID pReserved)
618 {
619     UNIMPLEMENTED;
620     return ERROR_OUTOFMEMORY;
621 }
622 
623 DNS_STATUS WINAPI
624 DnsReplaceRecordSet_A()
625 {
626     UNIMPLEMENTED;
627     return ERROR_OUTOFMEMORY;
628 }
629 
630 DNS_STATUS WINAPI
631 DnsReplaceRecordSet_UTF8()
632 {
633     UNIMPLEMENTED;
634     return ERROR_OUTOFMEMORY;
635 }
636 
637 DNS_STATUS WINAPI
638 DnsReplaceRecordSet_W()
639 {
640     UNIMPLEMENTED;
641     return ERROR_OUTOFMEMORY;
642 }
643 
644 DNS_STATUS WINAPI
645 DnsServiceNotificationDeregister_A()
646 {
647     UNIMPLEMENTED;
648     return ERROR_OUTOFMEMORY;
649 }
650 
651 DNS_STATUS WINAPI
652 DnsServiceNotificationDeregister_UTF8()
653 {
654     UNIMPLEMENTED;
655     return ERROR_OUTOFMEMORY;
656 }
657 
658 DNS_STATUS WINAPI
659 DnsServiceNotificationDeregister_W()
660 {
661     UNIMPLEMENTED;
662     return ERROR_OUTOFMEMORY;
663 }
664 
665 DNS_STATUS WINAPI
666 DnsServiceNotificationRegister_A()
667 {
668     UNIMPLEMENTED;
669     return ERROR_OUTOFMEMORY;
670 }
671 
672 DNS_STATUS WINAPI
673 DnsServiceNotificationRegister_UTF8()
674 {
675     UNIMPLEMENTED;
676     return ERROR_OUTOFMEMORY;
677 }
678 
679 DNS_STATUS WINAPI
680 DnsServiceNotificationRegister_W()
681 {
682     UNIMPLEMENTED;
683     return ERROR_OUTOFMEMORY;
684 }
685 
686 DNS_STATUS WINAPI
687 DnsSetMaxNumberOfAddressesToRegister()
688 {
689     UNIMPLEMENTED;
690     return ERROR_OUTOFMEMORY;
691 }
692 
693 DNS_STATUS WINAPI
694 DnsStatusString()
695 {
696     UNIMPLEMENTED;
697     return ERROR_OUTOFMEMORY;
698 }
699 
700 DNS_STATUS WINAPI
701 DnsStringCopyAllocateEx()
702 {
703     UNIMPLEMENTED;
704     return ERROR_OUTOFMEMORY;
705 }
706 
707 DNS_STATUS WINAPI
708 DnsUnicodeToUtf8()
709 {
710     UNIMPLEMENTED;
711     return ERROR_OUTOFMEMORY;
712 }
713 
714 DNS_STATUS WINAPI
715 DnsUpdate()
716 {
717     UNIMPLEMENTED;
718     return ERROR_OUTOFMEMORY;
719 }
720 
721 DNS_STATUS WINAPI
722 DnsUpdateTest_A()
723 {
724     UNIMPLEMENTED;
725     return ERROR_OUTOFMEMORY;
726 }
727 
728 DNS_STATUS WINAPI
729 DnsUpdateTest_UTF8()
730 {
731     UNIMPLEMENTED;
732     return ERROR_OUTOFMEMORY;
733 }
734 
735 DNS_STATUS WINAPI
736 DnsUpdateTest_W()
737 {
738     UNIMPLEMENTED;
739     return ERROR_OUTOFMEMORY;
740 }
741 
742 DNS_STATUS WINAPI
743 DnsUtf8ToUnicode()
744 {
745     UNIMPLEMENTED;
746     return ERROR_OUTOFMEMORY;
747 }
748 
749 DNS_STATUS WINAPI
750 DnsValidateUtf8Byte()
751 {
752     UNIMPLEMENTED;
753     return ERROR_OUTOFMEMORY;
754 }
755 
756 DNS_STATUS WINAPI
757 DnsWinsRecordFlagForString()
758 {
759     UNIMPLEMENTED;
760     return ERROR_OUTOFMEMORY;
761 }
762 
763 DNS_STATUS WINAPI
764 DnsWinsRecordFlagString()
765 {
766     UNIMPLEMENTED;
767     return ERROR_OUTOFMEMORY;
768 }
769 
770 BOOL WINAPI
771 DnsWriteQuestionToBuffer_UTF8(PDNS_MESSAGE_BUFFER pDnsBuffer,
772                               LPDWORD pdwBufferSize,
773                               LPSTR pszName,
774                               WORD wType,
775                               WORD Xid,
776                               BOOL fRecursionDesired)
777 {
778     UNIMPLEMENTED;
779     return FALSE;
780 }
781 
782 BOOL WINAPI
783 DnsWriteQuestionToBuffer_W(PDNS_MESSAGE_BUFFER pDnsBuffer,
784                            LPDWORD pdwBufferSize,
785                            LPWSTR pszName,
786                            WORD wType,
787                            WORD Xid,
788                            BOOL fRecursionDesired)
789 {
790     UNIMPLEMENTED;
791     return ERROR_OUTOFMEMORY;
792 }
793 
794 DNS_STATUS WINAPI
795 DnsWriteReverseNameStringForIpAddress()
796 {
797     UNIMPLEMENTED;
798     return ERROR_OUTOFMEMORY;
799 }
800 
801 DNS_STATUS WINAPI
802 DnsNotifyResolver()
803 {
804     UNIMPLEMENTED;
805     return ERROR_OUTOFMEMORY;
806 }
807