Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5cfe6e92
Commit
5cfe6e92
authored
Jun 06, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnsapi: Add stub implementations for the remaining documented functions.
parent
2b5b86fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
192 additions
and
12 deletions
+192
-12
dnsapi.spec
dlls/dnsapi/dnsapi.spec
+12
-12
main.c
dlls/dnsapi/main.c
+180
-0
No files found.
dlls/dnsapi/dnsapi.spec
View file @
5cfe6e92
@ st
ub DnsAcquireContextHandle_A
@ st
dcall DnsAcquireContextHandle_A(long ptr ptr)
@ st
ub DnsAcquireContextHandle_UTF8
@ st
dcall DnsAcquireContextHandle_UTF8(long ptr ptr)
@ st
ub DnsAcquireContextHandle_W
@ st
dcall DnsAcquireContextHandle_W(long ptr ptr)
@ stub DnsAddRecordSet_A
@ stub DnsAddRecordSet_A
@ stub DnsAddRecordSet_UTF8
@ stub DnsAddRecordSet_UTF8
@ stub DnsAddRecordSet_W
@ stub DnsAddRecordSet_W
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
@ stub DnsEnableAdapterDomainNameRegistration
@ stub DnsEnableAdapterDomainNameRegistration
@ stub DnsEnableBNodeResolverThread
@ stub DnsEnableBNodeResolverThread
@ stub DnsEnableDynamicRegistration
@ stub DnsEnableDynamicRegistration
@ st
ub DnsExtractRecordsFromMessage_UTF8
@ st
dcall DnsExtractRecordsFromMessage_UTF8(ptr long ptr)
@ st
ub DnsExtractRecordsFromMessage_W
@ st
dcall DnsExtractRecordsFromMessage_W(ptr long ptr)
@ stub DnsFindAuthoritativeZone
@ stub DnsFindAuthoritativeZone
@ stub DnsFlushResolverCache
@ stub DnsFlushResolverCache
@ stub DnsFlushResolverCacheEntry_A
@ stub DnsFlushResolverCacheEntry_A
...
@@ -65,9 +65,9 @@
...
@@ -65,9 +65,9 @@
@ stub DnsModifyRecordSet_A
@ stub DnsModifyRecordSet_A
@ stub DnsModifyRecordSet_UTF8
@ stub DnsModifyRecordSet_UTF8
@ stub DnsModifyRecordSet_W
@ stub DnsModifyRecordSet_W
@ st
ub DnsModifyRecordsInSet_A
@ st
dcall DnsModifyRecordsInSet_A(ptr ptr long ptr ptr ptr)
@ st
ub DnsModifyRecordsInSet_UTF8
@ st
dcall DnsModifyRecordsInSet_UTF8(ptr ptr long ptr ptr ptr)
@ st
ub DnsModifyRecordsInSet_W
@ st
dcall DnsModifyRecordsInSet_W(ptr ptr long ptr ptr ptr)
@ stdcall DnsNameCompare_A(str str)
@ stdcall DnsNameCompare_A(str str)
@ stub DnsNameCompareEx_A
@ stub DnsNameCompareEx_A
@ stub DnsNameCompareEx_UTF8
@ stub DnsNameCompareEx_UTF8
...
@@ -94,13 +94,13 @@
...
@@ -94,13 +94,13 @@
@ stub DnsRecordTypeForName
@ stub DnsRecordTypeForName
@ stub DnsRelationalCompare_UTF8
@ stub DnsRelationalCompare_UTF8
@ stub DnsRelationalCompare_W
@ stub DnsRelationalCompare_W
@ st
ub DnsReleaseContextHandle
@ st
dcall DnsReleaseContextHandle(ptr)
@ stub DnsRemoveRegistrations
@ stub DnsRemoveRegistrations
@ st
ub DnsReplaceRecordSetA
@ st
dcall DnsReplaceRecordSetA(ptr long ptr ptr ptr)
@ stub DnsReplaceRecordSet_A
@ stub DnsReplaceRecordSet_A
@ st
ub DnsReplaceRecordSetUTF8
@ st
dcall DnsReplaceRecordSetUTF8(ptr long ptr ptr ptr)
@ stub DnsReplaceRecordSet_UTF8
@ stub DnsReplaceRecordSet_UTF8
@ st
ub DnsReplaceRecordSetW
@ st
dcall DnsReplaceRecordSetW(ptr long ptr ptr ptr)
@ stub DnsReplaceRecordSet_W
@ stub DnsReplaceRecordSet_W
@ stub DnsServiceNotificationDeregister_A
@ stub DnsServiceNotificationDeregister_A
@ stub DnsServiceNotificationDeregister_UTF8
@ stub DnsServiceNotificationDeregister_UTF8
...
...
dlls/dnsapi/main.c
View file @
5cfe6e92
...
@@ -23,6 +23,8 @@
...
@@ -23,6 +23,8 @@
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "winerror.h"
#include "windns.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
@@ -47,3 +49,181 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
...
@@ -47,3 +49,181 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
}
}
return
TRUE
;
return
TRUE
;
}
}
/******************************************************************************
* DnsAcquireContextHandle_A [DNSAPI.@]
*
*/
DNS_STATUS
WINAPI
DnsAcquireContextHandle_A
(
DWORD
flags
,
PVOID
cred
,
HANDLE
*
context
)
{
FIXME
(
"(0x%08lx,%p,%p) stub
\n
"
,
flags
,
cred
,
context
);
*
context
=
(
HANDLE
)
0xdeadbeef
;
return
ERROR_SUCCESS
;
}
/******************************************************************************
* DnsAcquireContextHandle_UTF8 [DNSAPI.@]
*
*/
DNS_STATUS
WINAPI
DnsAcquireContextHandle_UTF8
(
DWORD
flags
,
PVOID
cred
,
HANDLE
*
context
)
{
FIXME
(
"(0x%08lx,%p,%p) stub
\n
"
,
flags
,
cred
,
context
);
*
context
=
(
HANDLE
)
0xdeadbeef
;
return
ERROR_SUCCESS
;
}
/******************************************************************************
* DnsAcquireContextHandle_W [DNSAPI.@]
*
*/
DNS_STATUS
WINAPI
DnsAcquireContextHandle_W
(
DWORD
flags
,
PVOID
cred
,
HANDLE
*
context
)
{
FIXME
(
"(0x%08lx,%p,%p) stub
\n
"
,
flags
,
cred
,
context
);
*
context
=
(
HANDLE
)
0xdeadbeef
;
return
ERROR_SUCCESS
;
}
/******************************************************************************
* DnsReleaseContextHandle [DNSAPI.@]
*
*/
void
WINAPI
DnsReleaseContextHandle
(
HANDLE
context
)
{
FIXME
(
"(%p) stub
\n
"
,
context
);
}
/******************************************************************************
* DnsExtractRecordsFromMessage_A [DNSAPI.@]
*
*/
DNS_STATUS
WINAPI
DnsExtractRecordsFromMessage_A
(
PDNS_MESSAGE_BUFFER
buffer
,
WORD
len
,
PDNS_RECORDA
*
record
)
{
FIXME
(
"(%p,%d,%p) stub
\n
"
,
buffer
,
len
,
record
);
*
record
=
NULL
;
return
ERROR_SUCCESS
;
}
/******************************************************************************
* DnsExtractRecordsFromMessage_UTF8 [DNSAPI.@]
*
*/
DNS_STATUS
WINAPI
DnsExtractRecordsFromMessage_UTF8
(
PDNS_MESSAGE_BUFFER
buffer
,
WORD
len
,
PDNS_RECORDA
*
record
)
{
FIXME
(
"(%p,%d,%p) stub
\n
"
,
buffer
,
len
,
record
);
*
record
=
NULL
;
return
ERROR_SUCCESS
;
}
/******************************************************************************
* DnsExtractRecordsFromMessage_W [DNSAPI.@]
*
*/
DNS_STATUS
WINAPI
DnsExtractRecordsFromMessage_W
(
PDNS_MESSAGE_BUFFER
buffer
,
WORD
len
,
PDNS_RECORDW
*
record
)
{
FIXME
(
"(%p,%d,%p) stub
\n
"
,
buffer
,
len
,
record
);
*
record
=
NULL
;
return
ERROR_SUCCESS
;
}
/******************************************************************************
* DnsModifyRecordsInSet_A [DNSAPI.@]
*
*/
DNS_STATUS
WINAPI
DnsModifyRecordsInSet_A
(
PDNS_RECORDA
add
,
PDNS_RECORDA
delete
,
DWORD
options
,
HANDLE
context
,
PIP4_ARRAY
servers
,
PVOID
reserved
)
{
FIXME
(
"(%p,%p,0x%08lx,%p,%p,%p) stub
\n
"
,
add
,
delete
,
options
,
context
,
servers
,
reserved
);
return
ERROR_SUCCESS
;
}
/******************************************************************************
* DnsModifyRecordsInSet_UTF8 [DNSAPI.@]
*
*/
DNS_STATUS
WINAPI
DnsModifyRecordsInSet_UTF8
(
PDNS_RECORDA
add
,
PDNS_RECORDA
delete
,
DWORD
options
,
HANDLE
context
,
PIP4_ARRAY
servers
,
PVOID
reserved
)
{
FIXME
(
"(%p,%p,0x%08lx,%p,%p,%p) stub
\n
"
,
add
,
delete
,
options
,
context
,
servers
,
reserved
);
return
ERROR_SUCCESS
;
}
/******************************************************************************
* DnsModifyRecordsInSet_W [DNSAPI.@]
*
*/
DNS_STATUS
WINAPI
DnsModifyRecordsInSet_W
(
PDNS_RECORDW
add
,
PDNS_RECORDW
delete
,
DWORD
options
,
HANDLE
context
,
PIP4_ARRAY
servers
,
PVOID
reserved
)
{
FIXME
(
"(%p,%p,0x%08lx,%p,%p,%p) stub
\n
"
,
add
,
delete
,
options
,
context
,
servers
,
reserved
);
return
ERROR_SUCCESS
;
}
/******************************************************************************
* DnsWriteQuestionToBuffer [DNSAPI.@]
*
*/
BOOL
WINAPI
DnsWriteQuestionToBuffer
(
PDNS_MESSAGE_BUFFER
buffer
,
LPDWORD
size
,
LPWSTR
name
,
WORD
type
,
WORD
xid
,
BOOL
recurse
)
{
FIXME
(
"(%p,%p,%s,%d,%d,%d) stub
\n
"
,
buffer
,
size
,
debugstr_w
(
name
),
type
,
xid
,
recurse
);
return
FALSE
;
}
/******************************************************************************
* DnsReplaceRecordSetA [DNSAPI.@]
*
*/
DNS_STATUS
WINAPI
DnsReplaceRecordSetA
(
PDNS_RECORDA
set
,
DWORD
options
,
HANDLE
context
,
PIP4_ARRAY
servers
,
PVOID
reserved
)
{
FIXME
(
"(%p,0x%08lx,%p,%p,%p) stub
\n
"
,
set
,
options
,
context
,
servers
,
reserved
);
return
ERROR_SUCCESS
;
}
/******************************************************************************
* DnsReplaceRecordSetUTF8 [DNSAPI.@]
*
*/
DNS_STATUS
WINAPI
DnsReplaceRecordSetUTF8
(
PDNS_RECORDA
set
,
DWORD
options
,
HANDLE
context
,
PIP4_ARRAY
servers
,
PVOID
reserved
)
{
FIXME
(
"(%p,0x%08lx,%p,%p,%p) stub
\n
"
,
set
,
options
,
context
,
servers
,
reserved
);
return
ERROR_SUCCESS
;
}
/******************************************************************************
* DnsReplaceRecordSetW [DNSAPI.@]
*
*/
DNS_STATUS
WINAPI
DnsReplaceRecordSetW
(
PDNS_RECORDW
set
,
DWORD
options
,
HANDLE
context
,
PIP4_ARRAY
servers
,
PVOID
reserved
)
{
FIXME
(
"(%p,0x%08lx,%p,%p,%p) stub
\n
"
,
set
,
options
,
context
,
servers
,
reserved
);
return
ERROR_SUCCESS
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment