diff options
author | Günther Deschner <gd@samba.org> | 2009-12-14 23:54:42 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-01-08 01:03:34 +0100 |
commit | 487a03a1586e478baaadada184836be98c609aa0 (patch) | |
tree | 15c26cd7ff3bbc64d3346cb6af31550311db97ca /testprogs/win32/spoolss/error.h | |
parent | 57be1d07afc2a0725b79327636204a9238ab94aa (diff) | |
download | samba-487a03a1586e478baaadada184836be98c609aa0.tar.gz samba-487a03a1586e478baaadada184836be98c609aa0.tar.bz2 samba-487a03a1586e478baaadada184836be98c609aa0.zip |
testprogs: add win32 spoolss testsuite.
Guenther
Diffstat (limited to 'testprogs/win32/spoolss/error.h')
-rw-r--r-- | testprogs/win32/spoolss/error.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testprogs/win32/spoolss/error.h b/testprogs/win32/spoolss/error.h new file mode 100644 index 0000000000..581c1097c1 --- /dev/null +++ b/testprogs/win32/spoolss/error.h @@ -0,0 +1,36 @@ +/* + Unix SMB/CIFS implementation. + test suite for spoolss rpc operations + + Copyright (C) Guenther Deschner 2009 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef ERROR_INVALID_PARAMETER +#define ERROR_INVALID_PARAMETER 87 +#endif + +#ifndef ERROR_INSUFFICIENT_BUFFER +#define ERROR_INSUFFICIENT_BUFFER 0x007a +#endif + +#if 0 +#ifdef STATUS_PENDING +#undef STATUS_PENDING +#define STATUS_PENDING 0x0103 +#endif +#endif + +const char *errstr(DWORD error); |