ReactOS  0.4.14-dev-98-gb0d4763
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:
25  case adns_s_systemfail:
26  default: /* There really aren't any general errors in the dns part. */
27  return ERROR_OUTOFMEMORY;
28  }
29 }
#define ERROR_SUCCESS
Definition: deptool.c:10
Status
Definition: gdiplustypes.h:24
#define ERROR_OUTOFMEMORY
Definition: deptool.c:13

Referenced by DnsAcquireContextHandle_W(), and DnsQuery_W().