From 57a4319baaee011f2604eadeac655ff1c84d4312 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Mon, 24 Mar 2014 11:52:48 +0000 Subject: 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 Reviewed-by: David Disseldorp Reviewed-by: Stefan Metzmacher --- librpc/idl/fsrvp.idl | 6 ------ 1 file changed, 6 deletions(-) (limited to 'librpc') 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; -- cgit