You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
855 B
30 lines
855 B
//+-----------------------------------------------------------------------
|
|
//
|
|
// File: exterr.h
|
|
//
|
|
// Contents: Kerberos extended error structures and macros
|
|
//
|
|
// History: 23-Feb-2000 Todds Created
|
|
//
|
|
//
|
|
//------------------------------------------------------------------------
|
|
|
|
#ifndef __EXTERR_H__
|
|
#define __EXTERR_H__
|
|
|
|
//
|
|
// This macro is universally used for extended errors
|
|
//
|
|
#define EXT_ERROR_SUCCESS(s) (NT_SUCCESS(s.status))
|
|
|
|
//
|
|
// defines for flags member of KERB_EXT_ERROR structure
|
|
//
|
|
#define EXT_ERROR_CLIENT_INFO 0x1 // this is an extended error for use by client
|
|
|
|
//
|
|
// is there a useful NTSTATUS embedded in returned error?
|
|
//
|
|
#define EXT_CLIENT_INFO_PRESENT(p) ((NULL != p) && (p->flags & EXT_ERROR_CLIENT_INFO) && !NT_SUCCESS(p->status))
|
|
|
|
#endif // __EXTERR_H__
|