https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e92ad7f30950e63735102a...
commit e92ad7f30950e63735102aa2c4f8686d948bd8dc Author: Eric Kohl eric.kohl@reactos.org AuthorDate: Sun Nov 10 17:12:20 2019 +0100 Commit: Eric Kohl eric.kohl@reactos.org CommitDate: Sun Nov 10 17:16:17 2019 +0100
[IDL][DNSRSLVR] Use the stdcall calling convention for remote functions --- base/services/dnsrslvr/rpcserver.c | 2 ++ sdk/include/reactos/idl/dnsrslvr.idl | 16 ++++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/base/services/dnsrslvr/rpcserver.c b/base/services/dnsrslvr/rpcserver.c index 96e398c9b52..913d2b32a78 100644 --- a/base/services/dnsrslvr/rpcserver.c +++ b/base/services/dnsrslvr/rpcserver.c @@ -42,6 +42,7 @@ RpcThreadRoutine(LPVOID lpParameter) }
DWORD +__stdcall R_ResolverFlushCache( DNSRSLVR_HANDLE pwszServerName) { @@ -53,6 +54,7 @@ R_ResolverFlushCache( }
DWORD +__stdcall R_ResolverQuery( DNSRSLVR_HANDLE pszServerName, LPCWSTR pszName, diff --git a/sdk/include/reactos/idl/dnsrslvr.idl b/sdk/include/reactos/idl/dnsrslvr.idl index ce0514557a6..2c0bf7b787d 100644 --- a/sdk/include/reactos/idl/dnsrslvr.idl +++ b/sdk/include/reactos/idl/dnsrslvr.idl @@ -37,8 +37,10 @@ interface DnsResolver /* R_ResolverGetConfig */
/* Function: 0x04 */ - DWORD R_ResolverFlushCache( - [in][unique][string] DNSRSLVR_HANDLE pwszServerName); + DWORD + __stdcall + R_ResolverFlushCache( + [in, unique, string] DNSRSLVR_HANDLE pwszServerName);
/* Function: 0x05 */ /* R_ResolverFlushCacheEntry */ @@ -47,12 +49,14 @@ interface DnsResolver /* R_ResolverRegisterCluster */
/* Function: 0x07 */ - DWORD R_ResolverQuery( - [in][unique][string] DNSRSLVR_HANDLE pwszServerName, - [in][unique][string] LPCWSTR pwsName, + DWORD + __stdcall + R_ResolverQuery( + [in, unique, string] DNSRSLVR_HANDLE pwszServerName, + [in, unique, string] LPCWSTR pwsName, [in] WORD wType, [in] DWORD Flags, - [in][out] DWORD *dwRecords, + [in, out] DWORD *dwRecords, [out] DNS_RECORDW **ppResultRecords);
/* Function: 0x08 */