"Andriy Palamarchuk" apa3a@yahoo.com wrote:
one of the ERROR_ constant values you provided to me looks suspicious:
ERROR_AUDITING_DISABLED c0090001
All other error codes have much lesser values (the biggest is 14011 - 0x36bb). The value for this error code reminds me values for STATUS_ constants.
Could you check if this is correct value? Is it definend in header file with other ERROR_ constants or with STATUS_ constants?
The value above is the correct one. It's defined along with other ERROR_ constants in the WinXP DDK header file \WINDDK\inc\crt\winerror.h
One more constant which has a 0xc00 prefix is #define ERROR_ALL_SIDS_FILTERED _HRESULT_TYPEDEF_(0xC0090002L)