ReactOS 0.4.15-dev-8235-gcd88a97
adns.c
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: lib/dnsapi/dnsapi/context.c
5 * PURPOSE: ADNS translation.
6 * PROGRAMER: Art Yerkes
7 * UPDATE HISTORY:
8 * 12/15/03 -- Created
9 */
10
11#include "precomp.h"
12
13#define NDEBUG
14#include <debug.h>
15
16DNS_STATUS
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}
DNS_STATUS DnsIntTranslateAdnsToDNS_STATUS(int Status)
Definition: adns.c:17
@ 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