ReactOS 0.4.15-dev-7928-g68a8619
adns.c File Reference
#include "precomp.h"
#include <debug.h>
Include dependency graph for adns.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

DNS_STATUS DnsIntTranslateAdnsToDNS_STATUS (int Status)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 13 of file adns.c.

Function Documentation

◆ DnsIntTranslateAdnsToDNS_STATUS()

DNS_STATUS DnsIntTranslateAdnsToDNS_STATUS ( int  Status)

Definition at line 17 of file adns.c.

18{
19 switch(Status)
20 {
21 case adns_s_ok:
22 return ERROR_SUCCESS;
23
24 case adns_s_nomemory:
26 default: /* There really aren't any general errors in the dns part. */
27 return ERROR_OUTOFMEMORY;
28 }
29}
@ adns_s_ok
Definition: adns.h:216
@ adns_s_systemfail
Definition: adns.h:221
@ adns_s_nomemory
Definition: adns.h:219
#define ERROR_OUTOFMEMORY
Definition: deptool.c:13
#define ERROR_SUCCESS
Definition: deptool.c:10
Status
Definition: gdiplustypes.h:25

Referenced by DnsAcquireContextHandle_W(), and Query_Main().