Add autogenerated HRESULT error codes and descriptions from MS_ERREF
commit027afd11ca404f24726013d0f9805f42b14e59d7
authorNoel Power <noel.power@suse.com>
Mon, 10 Mar 2014 11:00:38 +0000 (10 11:00 +0000)
committerStefan Metzmacher <metze@samba.org>
Wed, 2 Apr 2014 18:25:07 +0000 (2 20:25 +0200)
tree9620cba6c2fbda003f493339ca08152fd2951d67
parent85f57ebda360092efd5d71744d018c4cadd6d86b
Add autogenerated HRESULT error codes and descriptions from MS_ERREF

error codes & string descriptions are generated from
http://msdn.microsoft.com/en-us/library/cc704587.aspx, additionally there
is a function to return the error description from the error code,
this function will also try to determine the error description
associated with a W_ERROR code translated as a HRESULT.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
libcli/util/hresult.c [new file with mode: 0644]
libcli/util/hresult.h [new file with mode: 0644]
libcli/util/wscript_build