reactos/dll/win32/dnsapi/adns.c

30 lines
649 B
C
Raw Normal View History

/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* FILE: lib/dnsapi/dnsapi/context.c
* PURPOSE: ADNS translation.
* PROGRAMER: Art Yerkes
* UPDATE HISTORY:
* 12/15/03 -- Created
*/
#include "precomp.h"
#define NDEBUG
#include <debug.h>
DNS_STATUS
DnsIntTranslateAdnsToDNS_STATUS(int Status)
{
switch(Status)
{
case adns_s_ok:
return ERROR_SUCCESS;
case adns_s_nomemory:
case adns_s_systemfail:
default: /* There really aren't any general errors in the dns part. */
return ERROR_OUTOFMEMORY;
}
}