Commit d4259ac8 authored by Alexandre Julliard's avatar Alexandre Julliard

include: Import specstrings.h and related headers from Mingw.

parent dfdf56fb
......@@ -39,6 +39,8 @@
#include "initguid.h"
#ifdef SONAME_LIBJXRGLUE
#define ERR JXR_ERR
#define __in_win __in
#define __out_win __out
#include <JXRGlue.h>
#undef ERR
#endif
......
......@@ -82,6 +82,7 @@ SOURCES = \
commoncontrols.idl \
compobj.h \
comsvcs.idl \
concurrencysal.h \
consoleapi.h \
control.idl \
cor.idl \
......@@ -252,6 +253,7 @@ SOURCES = \
dplobby.h \
dplobby8.h \
dpnathlp.h \
driverspecs.h \
drmexternals.idl \
dsclient.h \
dsconf.h \
......@@ -672,6 +674,7 @@ SOURCES = \
snmp.h \
softpub.h \
spatialaudioclient.idl \
specstrings.h \
sperror.h \
sql.h \
sqlext.h \
......
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef CONCURRENCYSAL_HXX
#define CONCURRENCYSAL_HXX
#define _Benign_race_begin_
#define _Benign_race_end_
#define _No_competing_thread_begin_
#define _No_competing_thread_end_
#define _Acquires_exclusive_lock_(lock)
#define _Acquires_lock_(lock)
#define _Acquires_nonreentrant_lock_(lock)
#define _Acquires_shared_lock_(lock)
#define _Analysis_assume_lock_acquired_(lock)
#define _Analysis_assume_lock_released_(lock)
#define _Analysis_assume_lock_held_(lock)
#define _Analysis_assume_lock_not_held_(lock)
#define _Analysis_assume_same_lock_(lock1, lock2)
#define _Analysis_suppress_lock_checking_(lock)
#define _Create_lock_level_(level)
#define _Csalcat1_(x,y)
#define _Csalcat2_(x,y)
#define _Function_ignore_lock_checking_(lock)
#define _Guarded_by_(lock)
#define _Has_lock_kind_(kind)
#define _Has_lock_level_(level)
#define _Interlocked_
#define _Internal_lock_level_order_(a,b)
#define _Lock_level_order_(a,b)
#define _No_competing_thread_
#define _Post_same_lock_(lock1,lock2)
#define _Releases_exclusive_lock_(lock)
#define _Releases_lock_(lock)
#define _Releases_nonreentrant_lock_(lock)
#define _Releases_shared_lock_(lock)
#define _Requires_exclusive_lock_held_(lock)
#define _Requires_shared_lock_held_(lock)
#define _Requires_lock_held_(lock)
#define _Requires_lock_not_held_(lock)
#define _Requires_no_locks_held_
#define _Write_guarded_by_(lock)
#endif
/*
* PROJECT: ReactOS DDK
* COPYRIGHT: This file is in the Public Domain.
* FILE: driverspecs.h
* ABSTRACT: This header stubs out Driver Verifier annotations to
* allow drivers using them to compile with our header set.
*/
#ifndef DRIVERSPECS_H
#define DRIVERSPECS_H
#include <specstrings.h>
#include <concurrencysal.h>
#define _IRQL_raises_(x)
#define _IRQL_requires_(x)
#define _IRQL_requires_max_(x)
#define _IRQL_requires_min_(x)
#define _IRQL_requires_same_
#define _IRQL_restores_
#define _IRQL_saves_
#define __drv_aliasesMem
#define __drv_allocatesMem(kind)
#define __drv_arg(x,y)
#define __drv_at(x,y)
#define __drv_deref(x)
#define __drv_dispatchType(x)
#define __drv_dispatchType_other
#define __drv_formatString(x)
#define __drv_freesMem(kind)
#define __drv_in(x)
#define __drv_in_deref(x)
#define __drv_maxIRQL(x)
#define __drv_nonConstant
#define __drv_out(x)
#define __drv_out_deref(x)
#define __drv_raisesIRQL(x)
#define __drv_requiresIRQL(x)
#define __drv_restoresIRQL
#define __drv_restoresIRQLGlobal(x,y)
#define __drv_savesIRQL
#define __drv_savesIRQLGlobal(x,y)
#define __drv_setsIRQL(x)
#define __drv_useCancelIRQL
#define __drv_valueIs(x)
#define __drv_when(x,y)
#define __internal_kernel_driver
#define __kernel_code
#define __kernel_driver
#define __user_code
#define __user_driver
#endif
......@@ -41,6 +41,8 @@
# define _UCRT
#endif
#include <sal.h>
#if !defined(_MSC_VER) && !defined(__int64)
# if defined(_WIN64) && !defined(__MINGW64__)
# define __int64 long
......
......@@ -20,6 +20,7 @@
#define _NTDEF_
#include <basetsd.h>
#include <specstrings.h>
#ifdef __cplusplus
extern "C" {
......
......@@ -33,6 +33,8 @@ extern "C" {
#define OPTIONAL
#endif
#include <specstrings.h>
#ifndef GUID_DEFINED
#include <guiddef.h>
#endif
......
......@@ -19,6 +19,8 @@
#ifndef __WINE_WINERROR_H
#define __WINE_WINERROR_H
#include <specstrings.h>
#define FACILITY_NULL 0
#define FACILITY_RPC 1
#define FACILITY_DISPATCH 2
......
......@@ -24,6 +24,7 @@
#include <basetsd.h>
#include <guiddef.h>
#include <winapifamily.h>
#include <specstrings.h>
#ifndef RC_INVOKED
#include <ctype.h>
......
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