dinput/tests: Avoid assigning values twice (PVS-Studio).
[wine/multimedia.git] / include / ntquery.h
blob928dafc624025b273d0ec3089ac9a4fc8b0f07b1
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 /* FIXME: #include <stgprop.h> */
24 #include <pshpack4.h>
26 typedef struct _CI_STATE
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;
45 #include <poppack.h>
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
69 #ifdef __cplusplus
70 extern "C" {
71 #endif
73 STDAPI CIState(WCHAR const *, WCHAR const *, CI_STATE *);
74 STDAPI LocateCatalogsA(CHAR const *, ULONG, CHAR *, ULONG *, CHAR *, ULONG *);
75 STDAPI LocateCatalogsW(WCHAR const *, ULONG, WCHAR *, ULONG *, WCHAR *, ULONG *);
76 #define LocateCatalogs WINELIB_NAME_AW(LocateCatalogs)
77 STDAPI LoadIFilter(WCHAR const *, IUnknown *, void **);
79 #ifdef __cplusplus
81 #endif
83 #endif