mirror of
https://github.com/reactos/reactos.git
synced 2024-08-31 07:38:48 +00:00
30 lines
649 B
C
30 lines
649 B
C
/*
|
|
* 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;
|
|
}
|
|
}
|