diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2000-10-09 09:51:46 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2000-10-09 09:51:46 +0000 |
commit | b9e7a2b6662bcfef28b6fafddfeb9ff1e00ac5f5 (patch) | |
tree | 3449497d663aa1ad6adf911fd258f25cd90972ba /winsup/w32api/include/subauth.h | |
parent | 4b5970ab899c8a58d197b2b500157dbca3f2a1fc (diff) | |
download | cygnal-b9e7a2b6662bcfef28b6fafddfeb9ff1e00ac5f5.tar.gz cygnal-b9e7a2b6662bcfef28b6fafddfeb9ff1e00ac5f5.tar.bz2 cygnal-b9e7a2b6662bcfef28b6fafddfeb9ff1e00ac5f5.zip |
* include/iprtrmib.h: Further layout changes according to standard.
* include/iptypes.h: Ditto.
* include/ntdef.h: Ditto.
* include/ntsecapi.h: Ditto.
* include/subauth.h: Ditto.
Diffstat (limited to 'winsup/w32api/include/subauth.h')
-rw-r--r-- | winsup/w32api/include/subauth.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/winsup/w32api/include/subauth.h b/winsup/w32api/include/subauth.h index 67f25c319..b31a4bab7 100644 --- a/winsup/w32api/include/subauth.h +++ b/winsup/w32api/include/subauth.h @@ -4,7 +4,8 @@ extern "C" { #endif #ifndef NT_SUCCESS -#define NT_SUCCESS(Status) ((Status) >= 0) +#define NT_SUCCESS(x) ((x)>=0) +#define STATUS_SUCCESS 0 #endif #define CYPHER_BLOCK_LENGTH 8 #define USER_SESSION_KEY_LENGTH (CYPHER_BLOCK_LENGTH*2) @@ -30,7 +31,6 @@ extern "C" { #define SAM_DAYS_PER_WEEK 7 #define SAM_HOURS_PER_WEEK 168 #define SAM_MINUTES_PER_WEEK 10080 -#define STATUS_SUCCESS 0 #define STATUS_INVALID_INFO_CLASS 0xC0000003L #define STATUS_NO_SUCH_USER 0xC0000064L #define STATUS_WRONG_PASSWORD 0xC000006AL @@ -67,9 +67,6 @@ extern "C" { #define USER_ALL_PARAMETERS 2097152 #if !defined(_NTDEF_H) && !defined(_NTSECAPI_H) typedef LONG NTSTATUS, *PNTSTATUS; -#endif -typedef PVOID SAM_HANDLE, *PSAM_HANDLE; -#ifndef _NTSECAPI_H typedef struct _UNICODE_STRING { USHORT Length; USHORT MaximumLength; @@ -81,6 +78,7 @@ typedef struct _STRING { PCHAR Buffer; } STRING, *PSTRING; #endif +typedef PVOID SAM_HANDLE, *PSAM_HANDLE; typedef struct _OLD_LARGE_INTEGER { ULONG LowPart; LONG HighPart; |