libport: Add a replacement implementation for strnlen.
[wine.git] / include / ntquery.h
blob307304fe5ad795d9557d9f9da2a19d4d1d576f7f
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 "stgprop.h"
23 #include <pshpack4.h>
25 typedef struct _CI_STATE
27 DWORD cbStruct;
28 DWORD cWordList;
29 DWORD cPersistentIndex;
30 DWORD cQueries;
31 DWORD cDocuments;
32 DWORD cFreshTest;
33 DWORD dwMergeProgress;
34 DWORD eState;
35 DWORD cFilteredDocuments;
36 DWORD cTotalDocuments;
37 DWORD cPendingScans;
38 DWORD dwIndexSize;
39 DWORD cUniqueKeys;
40 DWORD cSeqQDocuments;
41 DWORD dwPropCacheSize;
42 } CI_STATE;
44 #include <poppack.h>
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
50 STDAPI CIState(WCHAR const *, WCHAR const *, CI_STATE *);
51 STDAPI LocateCatalogsA(CHAR const *, ULONG, CHAR *, ULONG *, CHAR *, ULONG *);
52 STDAPI LocateCatalogsW(WCHAR const *, ULONG, WCHAR *, ULONG *, WCHAR *, ULONG *);
53 #define LocateCatalogs WINELIB_NAME_AW(LocateCatalogs)
54 STDAPI LoadIFilter(WCHAR const *, IUnknown *, void **);
56 #ifdef __cplusplus
58 #endif
60 #endif