Commit b1494b13 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

query: Make ntquery.h C++ compatible.

Add missing prototypes. Add a commented-out #include directive as a reminder.
parent 16793656
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment