include: Add sperror.h.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Huw Davies 2017-09-27 10:17:14 +01:00 committed by Alexandre Julliard
parent 5948b0ccd9
commit 5f3e6b0433
2 changed files with 32 additions and 0 deletions

View File

@ -618,6 +618,7 @@ HEADER_SRCS = \
slpublic.h \
snmp.h \
softpub.h \
sperror.h \
sql.h \
sqlext.h \
sqltypes.h \

31
include/sperror.h 100644
View File

@ -0,0 +1,31 @@
/*
* Speech API (SAPI) Errors.
*
* Copyright (C) 2017 Huw Davies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef SPError_h
#define SPError_h
#include <winerror.h>
#define SPERR_UNINITIALIZED 0x80045001
#define SPERR_ALREADY_INITIALIZED 0x80045002
#define SPERR_NOT_FOUND 0x8004503a
#define SPERR_INVALID_REGISTRY_KEY 0x80045040
#endif /* SPError_h */