query: Make ntquery.h C++ compatible.

Add missing prototypes.
Add a commented-out #include directive as a reminder.
oldstable
Francois Gouget 2007-09-01 02:43:06 +02:00 committed by Alexandre Julliard
parent 16793656ea
commit b1494b1377
1 changed files with 16 additions and 2 deletions

View File

@ -19,6 +19,8 @@
#ifndef __WINE_NTQUERY_H__
#define __WINE_NTQUERY_H__
/* FIXME: #include <stgprop.h> */
#include <pshpack4.h>
typedef struct _CI_STATE
@ -42,8 +44,6 @@ typedef struct _CI_STATE
#include <poppack.h>
STDAPI CIState(WCHAR const *, WCHAR const *, CI_STATE *);
#define PSGUID_STORAGE {0xb725f130, 0x47ef, 0x101a, {0xa5, 0xf1, 0x02, 0x60, 0x8c, 0x9e, 0xeb, 0xac}}
#define PID_STG_DIRECTORY ((PROPID)0x02)
#define PID_STG_CLASSID ((PROPID)0x03)
@ -65,4 +65,18 @@ STDAPI CIState(WCHAR const *, WCHAR const *, CI_STATE *);
#define PID_STG_SHORTNAME ((PROPID)0x14)
#define PID_STG_MAX PID_STG_SHORTNAME
#ifdef __cplusplus
extern "C" {
#endif
STDAPI CIState(WCHAR const *, WCHAR const *, CI_STATE *);
STDAPI LocateCatalogsA(CHAR const *, ULONG, CHAR *, ULONG *, CHAR *, ULONG *);
STDAPI LocateCatalogsW(WCHAR const *, ULONG, WCHAR *, ULONG *, WCHAR *, ULONG *);
#define LocateCatalogs WINELIB_NAME_AW(LocateCatalogs)
#ifdef __cplusplus
}
#endif
#endif