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