[IDL][DNSRSLVR] Use the stdcall calling convention for remote functions

This commit is contained in:
Eric Kohl 2019-11-10 17:12:20 +01:00
parent 3b2ead064f
commit e92ad7f309
2 changed files with 12 additions and 6 deletions

View file

@ -42,6 +42,7 @@ RpcThreadRoutine(LPVOID lpParameter)
} }
DWORD DWORD
__stdcall
R_ResolverFlushCache( R_ResolverFlushCache(
DNSRSLVR_HANDLE pwszServerName) DNSRSLVR_HANDLE pwszServerName)
{ {
@ -53,6 +54,7 @@ R_ResolverFlushCache(
} }
DWORD DWORD
__stdcall
R_ResolverQuery( R_ResolverQuery(
DNSRSLVR_HANDLE pszServerName, DNSRSLVR_HANDLE pszServerName,
LPCWSTR pszName, LPCWSTR pszName,

View file

@ -37,8 +37,10 @@ interface DnsResolver
/* R_ResolverGetConfig */ /* R_ResolverGetConfig */
/* Function: 0x04 */ /* Function: 0x04 */
DWORD R_ResolverFlushCache( DWORD
[in][unique][string] DNSRSLVR_HANDLE pwszServerName); __stdcall
R_ResolverFlushCache(
[in, unique, string] DNSRSLVR_HANDLE pwszServerName);
/* Function: 0x05 */ /* Function: 0x05 */
/* R_ResolverFlushCacheEntry */ /* R_ResolverFlushCacheEntry */
@ -47,12 +49,14 @@ interface DnsResolver
/* R_ResolverRegisterCluster */ /* R_ResolverRegisterCluster */
/* Function: 0x07 */ /* Function: 0x07 */
DWORD R_ResolverQuery( DWORD
[in][unique][string] DNSRSLVR_HANDLE pwszServerName, __stdcall
[in][unique][string] LPCWSTR pwsName, R_ResolverQuery(
[in, unique, string] DNSRSLVR_HANDLE pwszServerName,
[in, unique, string] LPCWSTR pwsName,
[in] WORD wType, [in] WORD wType,
[in] DWORD Flags, [in] DWORD Flags,
[in][out] DWORD *dwRecords, [in, out] DWORD *dwRecords,
[out] DNS_RECORDW **ppResultRecords); [out] DNS_RECORDW **ppResultRecords);
/* Function: 0x08 */ /* Function: 0x08 */