ReactOS 0.4.15-dev-7953-g1f49173
ntquery.h
Go to the documentation of this file.
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#ifndef __WINE_NTQUERY_H__
20#define __WINE_NTQUERY_H__
21
22/* FIXME: #include <stgprop.h> */
23
24#include <pshpack4.h>
25
26typedef struct _CI_STATE
27{
44
45#include <poppack.h>
46
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
67
68
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 *);
76#define LocateCatalogs WINELIB_NAME_AW(LocateCatalogs)
77
78#ifdef __cplusplus
79}
80#endif
81
82#endif
#define STDAPI
Definition: basetyps.h:41
unsigned long DWORD
Definition: ntddk_ex.h:95
STDAPI LocateCatalogsA(CHAR const *, ULONG, CHAR *, ULONG *, CHAR *, ULONG *)
Definition: query_main.c:79
STDAPI CIState(WCHAR const *, WCHAR const *, CI_STATE *)
Definition: query_main.c:73
STDAPI LocateCatalogsW(WCHAR const *, ULONG, WCHAR *, ULONG *, WCHAR *, ULONG *)
Definition: query_main.c:89
struct _CI_STATE CI_STATE
DWORD eState
Definition: ntquery.h:35
DWORD cDocuments
Definition: ntquery.h:32
DWORD cWordList
Definition: ntquery.h:29
DWORD dwIndexSize
Definition: ntquery.h:39
DWORD cbStruct
Definition: ntquery.h:28
DWORD cQueries
Definition: ntquery.h:31
DWORD cUniqueKeys
Definition: ntquery.h:40
DWORD cFilteredDocuments
Definition: ntquery.h:36
DWORD cSeqQDocuments
Definition: ntquery.h:41
DWORD cTotalDocuments
Definition: ntquery.h:37
DWORD dwPropCacheSize
Definition: ntquery.h:42
DWORD cPersistentIndex
Definition: ntquery.h:30
DWORD cFreshTest
Definition: ntquery.h:33
DWORD cPendingScans
Definition: ntquery.h:38
DWORD dwMergeProgress
Definition: ntquery.h:34
uint32_t ULONG
Definition: typedefs.h:59
__wchar_t WCHAR
Definition: xmlstorage.h:180
char CHAR
Definition: xmlstorage.h:175