summaryrefslogtreecommitdiffstats
path: root/librpc
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2014-03-24 11:52:48 +0000
committerStefan Metzmacher <metze@samba.org>2014-04-02 20:25:07 +0200
commit57a4319baaee011f2604eadeac655ff1c84d4312 (patch)
tree63dc75cf299e010e334214a6adcbc60a720ae227 /librpc
parent027afd11ca404f24726013d0f9805f42b14e59d7 (diff)
downloadsamba-57a4319baaee011f2604eadeac655ff1c84d4312.tar.gz
samba-57a4319baaee011f2604eadeac655ff1c84d4312.tar.xz
samba-57a4319baaee011f2604eadeac655ff1c84d4312.zip
Allow FSRVP access generic HRESULT error message descriptions
FSRVP can possibly return any HRESULT error in addition to it's own specific errors. This change searches the HRESULT errors for a description if the error doesn't match any of the known FSRVP ones. Also removed some errors defined in fsrvp.idl (now that they are defined in hresult.h) Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/fsrvp.idl6
1 files changed, 0 insertions, 6 deletions
diff --git a/librpc/idl/fsrvp.idl b/librpc/idl/fsrvp.idl
index 3a11b87fdc9..2adff15f32f 100644
--- a/librpc/idl/fsrvp.idl
+++ b/librpc/idl/fsrvp.idl
@@ -22,12 +22,6 @@ import "misc.idl";
const uint32 FSRVP_E_OBJECT_NOT_FOUND = 0x80042308;
const uint32 FSRVP_E_UNSUPPORTED_CONTEXT = 0x8004231B;
const uint32 FSRVP_E_BAD_ID = 0x80042302; /* wire, not documented */
-
- /* TODO move these to generic herror defines or COM in orpc.idl */
- const uint32 E_ACCESSDENIED = 0x80070005;
- const uint32 E_INVALIDARG = 0x80070057;
- const uint32 E_OUTOFMEMORY = 0x80000002;
-
typedef struct {
GUID ShadowCopySetId;
GUID ShadowCopyId;