testprogs: add win32 spoolss testsuite.
[ira/wip.git] / testprogs / win32 / spoolss / error.h
1 /*
2    Unix SMB/CIFS implementation.
3    test suite for spoolss rpc operations
4
5    Copyright (C) Guenther Deschner 2009
6
7    This program is free software; you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation; either version 3 of the License, or
10    (at your option) any later version.
11
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef ERROR_INVALID_PARAMETER
22 #define ERROR_INVALID_PARAMETER 87
23 #endif
24
25 #ifndef ERROR_INSUFFICIENT_BUFFER
26 #define ERROR_INSUFFICIENT_BUFFER 0x007a
27 #endif
28
29 #if 0
30 #ifdef STATUS_PENDING
31 #undef STATUS_PENDING
32 #define STATUS_PENDING 0x0103
33 #endif
34 #endif
35
36 const char *errstr(DWORD error);