From 5f3e6b0433b2a3dd4334bf1e7d7f14eb2b67b693 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 27 Sep 2017 10:17:14 +0100 Subject: [PATCH] include: Add sperror.h. Signed-off-by: Huw Davies Signed-off-by: Alexandre Julliard --- include/Makefile.in | 1 + include/sperror.h | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 include/sperror.h diff --git a/include/Makefile.in b/include/Makefile.in index a36cf89e91..2e17067ec2 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -618,6 +618,7 @@ HEADER_SRCS = \ slpublic.h \ snmp.h \ softpub.h \ + sperror.h \ sql.h \ sqlext.h \ sqltypes.h \ diff --git a/include/sperror.h b/include/sperror.h new file mode 100644 index 0000000000..4b247994ba --- /dev/null +++ b/include/sperror.h @@ -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 + +#define SPERR_UNINITIALIZED 0x80045001 +#define SPERR_ALREADY_INITIALIZED 0x80045002 +#define SPERR_NOT_FOUND 0x8004503a +#define SPERR_INVALID_REGISTRY_KEY 0x80045040 + +#endif /* SPError_h */