werror.h enriched with few more error code (DRSUAPI related)

Kamen Mazdrashki kamen.mazdrashki at postpath.com
Thu Sep 10 20:46:38 MDT 2009



On Fri, Sep 11, 2009 at 05:37, Andrew Bartlett <abartlet at samba.org> wrote:
> On Fri, 2009-09-11 at 05:32 +0300, Kamen Mazdrashki wrote:
>>
>> Yes, I am right on it: http://msdn.microsoft.com/en-us/library/cc231199%28PROT.10%29.aspx
>> It is in html, so I had to import it by hand (actually semi-automatically).
>> The other way was from Win headers, but I am not quite sure it is legal.
>
> No, we must go from the WSPP docs.
>
>> Also in headers error codes are in decimal format (although I am quite sure
>> in older SDKs error codes were hex-decimal).
>
> OK, so I'll ask for that file as plain text, and we can then write a
> python/perl script to munge back into headers and C.  We are quite legal
> to incorporate the headers from any WSPP doc (but should ack the
> source).
>

If we can use the web page, I can 'vampire' the whole table into
winerr.h/doserr.c? So we'll get all error codes + description :)

Kamen


More information about the samba-technical mailing list