blob: fc78c3296c45c4509ca6eb2790971e06b5e5eeaf [file] [log] [blame]
Mike McCormackc53cdac2006-07-07 17:20:59 +09001/*
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#ifndef __WINE_NTQUERY_H__
20#define __WINE_NTQUERY_H__
21
Francois Gougetb1494b12007-09-01 02:43:06 +020022/* FIXME: #include <stgprop.h> */
23
Mike McCormackc53cdac2006-07-07 17:20:59 +090024#include <pshpack4.h>
25
26typedef struct _CI_STATE
27{
28 DWORD cbStruct;
29 DWORD cWordList;
30 DWORD cPersistentIndex;
31 DWORD cQueries;
32 DWORD cDocuments;
33 DWORD cFreshTest;
34 DWORD dwMergeProgress;
35 DWORD eState;
36 DWORD cFilteredDocuments;
37 DWORD cTotalDocuments;
38 DWORD cPendingScans;
39 DWORD dwIndexSize;
40 DWORD cUniqueKeys;
41 DWORD cSeqQDocuments;
42 DWORD dwPropCacheSize;
43} CI_STATE;
44
45#include <poppack.h>
46
MikoĊ‚aj Zalewski7523fd32006-08-03 18:55:52 +020047#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
67
Francois Gougetb1494b12007-09-01 02:43:06 +020068
69#ifdef __cplusplus
70extern "C" {
71#endif
72
73STDAPI CIState(WCHAR const *, WCHAR const *, CI_STATE *);
74STDAPI LocateCatalogsA(CHAR const *, ULONG, CHAR *, ULONG *, CHAR *, ULONG *);
75STDAPI LocateCatalogsW(WCHAR const *, ULONG, WCHAR *, ULONG *, WCHAR *, ULONG *);
76#define LocateCatalogs WINELIB_NAME_AW(LocateCatalogs)
77
78#ifdef __cplusplus
79}
80#endif
81
Mike McCormackc53cdac2006-07-07 17:20:59 +090082#endif