1 | /*
|
---|
2 | * Copyright 2006 Mike McCormack
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef __WINE_NTQUERY_H__
|
---|
29 | #define __WINE_NTQUERY_H__
|
---|
30 |
|
---|
31 | /* FIXME: #include <stgprop.h> */
|
---|
32 |
|
---|
33 | #include <pshpack4.h>
|
---|
34 |
|
---|
35 | typedef struct _CI_STATE
|
---|
36 | {
|
---|
37 | DWORD cbStruct;
|
---|
38 | DWORD cWordList;
|
---|
39 | DWORD cPersistentIndex;
|
---|
40 | DWORD cQueries;
|
---|
41 | DWORD cDocuments;
|
---|
42 | DWORD cFreshTest;
|
---|
43 | DWORD dwMergeProgress;
|
---|
44 | DWORD eState;
|
---|
45 | DWORD cFilteredDocuments;
|
---|
46 | DWORD cTotalDocuments;
|
---|
47 | DWORD cPendingScans;
|
---|
48 | DWORD dwIndexSize;
|
---|
49 | DWORD cUniqueKeys;
|
---|
50 | DWORD cSeqQDocuments;
|
---|
51 | DWORD dwPropCacheSize;
|
---|
52 | } CI_STATE;
|
---|
53 |
|
---|
54 | #include <poppack.h>
|
---|
55 |
|
---|
56 | #define PSGUID_STORAGE {0xb725f130, 0x47ef, 0x101a, {0xa5, 0xf1, 0x02, 0x60, 0x8c, 0x9e, 0xeb, 0xac}}
|
---|
57 | #define PID_STG_DIRECTORY ((PROPID)0x02)
|
---|
58 | #define PID_STG_CLASSID ((PROPID)0x03)
|
---|
59 | #define PID_STG_STORAGETYPE ((PROPID)0x04)
|
---|
60 | #define PID_STG_VOLUME_ID ((PROPID)0x05)
|
---|
61 | #define PID_STG_PARENT_WORKID ((PROPID)0x06)
|
---|
62 | #define PID_STG_SECONDARYSTORE ((PROPID)0x07)
|
---|
63 | #define PID_STG_FILEINDEX ((PROPID)0x08)
|
---|
64 | #define PID_STG_LASTCHANGEUSN ((PROPID)0x09)
|
---|
65 | #define PID_STG_NAME ((PROPID)0x0a)
|
---|
66 | #define PID_STG_PATH ((PROPID)0x0b)
|
---|
67 | #define PID_STG_SIZE ((PROPID)0x0c)
|
---|
68 | #define PID_STG_ATTRIBUTES ((PROPID)0x0d)
|
---|
69 | #define PID_STG_WRITETIME ((PROPID)0x0e)
|
---|
70 | #define PID_STG_CREATETIME ((PROPID)0x0f)
|
---|
71 | #define PID_STG_ACCESSTIME ((PROPID)0x10)
|
---|
72 | #define PID_STG_CHANGETIME ((PROPID)0x11)
|
---|
73 | #define PID_STG_CONTENTS ((PROPID)0x13)
|
---|
74 | #define PID_STG_SHORTNAME ((PROPID)0x14)
|
---|
75 | #define PID_STG_MAX PID_STG_SHORTNAME
|
---|
76 |
|
---|
77 |
|
---|
78 | #ifdef __cplusplus
|
---|
79 | extern "C" {
|
---|
80 | #endif
|
---|
81 |
|
---|
82 | STDAPI CIState(WCHAR const *, WCHAR const *, CI_STATE *);
|
---|
83 | STDAPI LocateCatalogsA(CHAR const *, ULONG, CHAR *, ULONG *, CHAR *, ULONG *);
|
---|
84 | STDAPI LocateCatalogsW(WCHAR const *, ULONG, WCHAR *, ULONG *, WCHAR *, ULONG *);
|
---|
85 | #define LocateCatalogs WINELIB_NAME_AW(LocateCatalogs)
|
---|
86 |
|
---|
87 | #ifdef __cplusplus
|
---|
88 | }
|
---|
89 | #endif
|
---|
90 |
|
---|
91 | #endif
|
---|