[PSDK] small fixes for dns headers
[reactos.git] / reactos / sdk / include / reactos / idl / dnsrslvr.idl
1 /*
2 * DNS Resolver Service interface definition
3 */
4
5 #include <ms-dtyp.idl>
6
7 #define UNICODE
8 #include <sal.h>
9 #include <windns.h>
10
11 typedef [handle, string] LPWSTR DNSRSLVR_HANDLE;
12
13 [
14 uuid(45776b01-5956-4485-9f80-f428f7d60129),
15 version(2.0),
16 pointer_default(unique)
17 #ifndef __midl
18 ,explicit_handle
19 #endif
20 ]
21
22 interface DnsResolver
23 {
24 /* Function: 0x00 */
25 /* CRrReadCache */
26
27 /* Function: 0x01 */
28 /* CRrReadCacheEntry */
29
30 /* Function: 0x02 */
31 /* CRrGetHashTableStats */
32
33 /* Function: 0x03 */
34 /* R_ResolverGetConfig */
35
36 /* Function: 0x04 */
37 DWORD R_ResolverFlushCache(
38 [in][unique][string] DNSRSLVR_HANDLE pwszServerName);
39
40 /* Function: 0x05 */
41 /* R_ResolverFlushCacheEntry */
42
43 /* Function: 0x06 */
44 /* R_ResolverRegisterCluster */
45
46 /* Function: 0x07 */
47 DWORD R_ResolverQuery(
48 [in][unique][string] DNSRSLVR_HANDLE pwszServerName,
49 [in][unique][string] LPCWSTR pwsName,
50 [in] WORD wType,
51 [in] DWORD Flags,
52 [in][out] DWORD *dwRecords,
53 [out][ref] DNS_RECORDW** ppResultRecords);
54
55 /* Function: 0x08 */
56 /* R_ResolverEnumCache */
57
58 /* Function: 0x09 */
59 /* R_ResolverPoke */
60
61 }