From b1494b13771578078a393ea4146004ef494d21e8 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sat, 1 Sep 2007 02:43:06 +0200 Subject: [PATCH] query: Make ntquery.h C++ compatible. Add missing prototypes. Add a commented-out #include directive as a reminder. --- include/ntquery.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/include/ntquery.h b/include/ntquery.h index 8ebe07471c2..fc78c3296c4 100644 --- a/include/ntquery.h +++ b/include/ntquery.h @@ -19,6 +19,8 @@ #ifndef __WINE_NTQUERY_H__ #define __WINE_NTQUERY_H__ +/* FIXME: #include */ + #include typedef struct _CI_STATE @@ -42,8 +44,6 @@ typedef struct _CI_STATE #include -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