ReactOS
0.4.16-dev-1020-gf135cab
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
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
16
DNS_STATUS
17
DnsIntTranslateAdnsToDNS_STATUS
(
int
Status
)
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
}
DnsIntTranslateAdnsToDNS_STATUS
DNS_STATUS DnsIntTranslateAdnsToDNS_STATUS(int Status)
Definition:
adns.c:17
adns_s_ok
@ adns_s_ok
Definition:
adns.h:216
adns_s_systemfail
@ adns_s_systemfail
Definition:
adns.h:221
adns_s_nomemory
@ adns_s_nomemory
Definition:
adns.h:219
ERROR_OUTOFMEMORY
#define ERROR_OUTOFMEMORY
Definition:
deptool.c:13
ERROR_SUCCESS
#define ERROR_SUCCESS
Definition:
deptool.c:10
Status
Status
Definition:
gdiplustypes.h:25
precomp.h
dll
win32
dnsapi
adns.c
Generated on Mon Apr 21 2025 06:04:10 for ReactOS by
1.9.6