Release 0.9.33.
[wine/dibdrv.git] / include / ntquery.h
blob8ebe07471c2e762d90a8f07cbcf32e8276c521dd
1 /*
2 * Copyright 2006 Mike McCormack
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.
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.
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
19 #ifndef __WINE_NTQUERY_H__
20 #define __WINE_NTQUERY_H__
22 #include <pshpack4.h>
24 typedef struct _CI_STATE
26 DWORD cbStruct;
27 DWORD cWordList;
28 DWORD cPersistentIndex;
29 DWORD cQueries;
30 DWORD cDocuments;
31 DWORD cFreshTest;
32 DWORD dwMergeProgress;
33 DWORD eState;
34 DWORD cFilteredDocuments;
35 DWORD cTotalDocuments;
36 DWORD cPendingScans;
37 DWORD dwIndexSize;
38 DWORD cUniqueKeys;
39 DWORD cSeqQDocuments;
40 DWORD dwPropCacheSize;
41 } CI_STATE;
43 #include <poppack.h>
45 STDAPI CIState(WCHAR const *, WCHAR const *, CI_STATE *);
47 #define PSGUID_STORAGE {0xb725f130, 0x47ef, 0x101a, {0xa5, 0xf1, 0x02, 0x60, 0x8c, 0x9e, 0xeb, 0xac}}
48 #define PID_STG_DIRECTORY ((PROPID)0x02)
49 #define PID_STG_CLASSID ((PROPID)0x03)
50 #define PID_STG_STORAGETYPE ((PROPID)0x04)
51 #define PID_STG_VOLUME_ID ((PROPID)0x05)
52 #define PID_STG_PARENT_WORKID ((PROPID)0x06)
53 #define PID_STG_SECONDARYSTORE ((PROPID)0x07)
54 #define PID_STG_FILEINDEX ((PROPID)0x08)
55 #define PID_STG_LASTCHANGEUSN ((PROPID)0x09)
56 #define PID_STG_NAME ((PROPID)0x0a)
57 #define PID_STG_PATH ((PROPID)0x0b)
58 #define PID_STG_SIZE ((PROPID)0x0c)
59 #define PID_STG_ATTRIBUTES ((PROPID)0x0d)
60 #define PID_STG_WRITETIME ((PROPID)0x0e)
61 #define PID_STG_CREATETIME ((PROPID)0x0f)
62 #define PID_STG_ACCESSTIME ((PROPID)0x10)
63 #define PID_STG_CHANGETIME ((PROPID)0x11)
64 #define PID_STG_CONTENTS ((PROPID)0x13)
65 #define PID_STG_SHORTNAME ((PROPID)0x14)
66 #define PID_STG_MAX PID_STG_SHORTNAME
68 #endif