This file is indexed.

/usr/include/wine/windows/cmnquery.idl is in libwine-dev 3.0-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/*
 * Copyright 2017 Zebediah Figura for CodeWeavers
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */

import "oaidl.idl";

#ifndef __WIDL__
#define threading(model)
#define progid(str)
#define vi_progid(str)
#endif

[
    object,
    uuid(1a3114b8-a62e-11d0-a6c5-00a0c906af45),
    local
]
interface IPersistQuery : IPersist
{
    HRESULT WriteString([in] LPCWSTR section, [in] LPCWSTR name, [in] LPCWSTR value);

    HRESULT ReadString([in] LPCWSTR section, [in] LPCWSTR name, [out, size_is(buflen)] LPWSTR buffer, [in] INT buflen);

    HRESULT WriteInt([in] LPCWSTR section, [in] LPCWSTR name, [in] INT value);

    HRESULT ReadInt([in] LPCWSTR section, [in] LPCWSTR name, [out] INT *value);

    HRESULT WriteStruct([in] LPCWSTR section, [in] LPCWSTR name, [in] LPVOID value, [in] DWORD size);

    HRESULT ReadStruct([in] LPCWSTR section, [in] LPCWSTR name, [out, size_is(buflen)] LPVOID buffer, [in] DWORD buflen);

    HRESULT Clear();
}

cpp_quote("#define OQWF_OKCANCEL            0x00000001")
cpp_quote("#define OQWF_DEFAULTFORM         0x00000002")
cpp_quote("#define OQWF_SINGLESELECT        0x00000004")
cpp_quote("#define OQWF_LOADQUERY           0x00000008")
cpp_quote("#define OQWF_REMOVESCOPES        0x00000010")
cpp_quote("#define OQWF_REMOVEFORMS         0x00000020")
cpp_quote("#define OQWF_ISSUEONOPEN         0x00000040")
cpp_quote("#define OQWF_SHOWOPTIONAL        0x00000080")
cpp_quote("#define OQWF_SAVEQUERYONOK       0x00000200")
cpp_quote("#define OQWF_HIDEMENUS           0x00000400")
cpp_quote("#define OQWF_HIDESEARCHUI        0x00000800")
cpp_quote("#define OQWF_PARAMISPROPERTYBAG  0x80000000")

typedef struct {
  DWORD         cbStruct;
  DWORD         dwFlags;
  CLSID         clsidHandler;
  LPVOID        pHandlerParameters;
  CLSID         clsidDefaultForm;
  IPersistQuery *pPersistQuery;
  union {
    void         *pFormParameters;
    IPropertyBag *ppbFormParameters;
  };
} OPENQUERYWINDOW, *LPOPENQUERYWINDOW;

[
    object,
    uuid(ab50dec0-6f1d-11d0-a1c4-00aa00c16e65),
    local
]
interface ICommonQuery : IUnknown
{
    HRESULT OpenQueryWindow([in] HWND parent, [in] LPOPENQUERYWINDOW query_window, [out] IDataObject **data_object);
}

[
    threading(apartment),
    uuid(83bc5ec0-6f2a-11d0-a1c4-00aa00c16e65)
]
coclass CommonQuery { interface ICommonQuery; }