Author: hpoussin
Date: Wed Aug 8 12:58:58 2007
New Revision: 28242
URL:
http://svn.reactos.org/svn/reactos?rev=28242&view=rev
Log:
Add SCESTATUS_* constants
Modified:
trunk/reactos/include/psdk/ntsecapi.h
Modified: trunk/reactos/include/psdk/ntsecapi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntsecapi.h?re…
==============================================================================
--- trunk/reactos/include/psdk/ntsecapi.h (original)
+++ trunk/reactos/include/psdk/ntsecapi.h Wed Aug 8 12:58:58 2007
@@ -123,6 +123,27 @@
#define TRUST_TYPE_MIT 3
#define TRUST_TYPE_DCE 4
+#define SCESTATUS_SUCCESS 0L
+#define SCESTATUS_INVALID_PARAMETER 1L
+#define SCESTATUS_RECORD_NOT_FOUND 2L
+#define SCESTATUS_INVALID_DATA 3L
+#define SCESTATUS_OBJECT_EXISTS 4L
+#define SCESTATUS_BUFFER_TOO_SMALL 5L
+#define SCESTATUS_PROFILE_NOT_FOUND 6L
+#define SCESTATUS_BAD_FORMAT 7L
+#define SCESTATUS_NOT_ENOUGH_RESOURCE 8L
+#define SCESTATUS_ACCESS_DENIED 9L
+#define SCESTATUS_CANT_DELETE 10L
+#define SCESTATUS_PREFIX_OVERFLOW 11L
+#define SCESTATUS_OTHER_ERROR 12L
+#define SCESTATUS_ALREADY_RUNNING 13L
+#define SCESTATUS_SERVICE_NOT_SUPPORT 14L
+#define SCESTATUS_MOD_NOT_FOUND 15L
+#define SCESTATUS_EXCEPTION_IN_SERVER 16L
+#define SCESTATUS_NO_TEMPLATE_GIVEN 17L
+#define SCESTATUS_NO_MAPPING 18L
+#define SCESTATUS_TRUST_FAIL 19L
+
#if !defined(_NTDEF_)
typedef LONG NTSTATUS, *PNTSTATUS;
#endif
@@ -163,6 +184,13 @@
#endif
+typedef enum _KERB_LOGON_SUBMIT_TYPE
+{
+ KerbInteractiveLogon = 2,
+ KerbS4ULogon = 12,
+ KerbTicketLogon = 10,
+ KerbTicketUnlockLogon = 11
+} KERB_LOGON_SUBMIT_TYPE, *PKERB_LOGON_SUBMIT_TYPE;
typedef enum _MSV1_0_LOGON_SUBMIT_TYPE {
MsV1_0InteractiveLogon = 2,
MsV1_0Lm20Logon,
@@ -377,6 +405,12 @@
LONG DomainIndex;
} LSA_TRANSLATED_NAME, *PLSA_TRANSLATED_NAME;
+typedef struct _KERB_INTERACTIVE_LOGON {
+ KERB_LOGON_SUBMIT_TYPE MessageType;
+ UNICODE_STRING LogonDomainName;
+ UNICODE_STRING UserName;
+ UNICODE_STRING Password;
+} KERB_INTERACTIVE_LOGON, *PKERB_INTERACTIVE_LOGON;
typedef struct _MSV1_0_INTERACTIVE_LOGON {
MSV1_0_LOGON_SUBMIT_TYPE MessageType;
UNICODE_STRING LogonDomainName;
@@ -660,6 +694,8 @@
NTSTATUS NTAPI LsaLookupAuthenticationPackage(HANDLE,PLSA_STRING,PULONG);
NTSTATUS NTAPI LsaLookupNames(LSA_HANDLE,ULONG,PLSA_UNICODE_STRING,
PLSA_REFERENCED_DOMAIN_LIST*,PLSA_TRANSLATED_SID*);
+NTSTATUS NTAPI LsaLookupNames2(LSA_HANDLE,ULONG,ULONG,PLSA_UNICODE_STRING,
+ PLSA_REFERENCED_DOMAIN_LIST*,PLSA_TRANSLATED_SID2*);
NTSTATUS NTAPI LsaLookupSids(LSA_HANDLE,ULONG,PSID*,
PLSA_REFERENCED_DOMAIN_LIST*,PLSA_TRANSLATED_NAME*);
ULONG NTAPI LsaNtStatusToWinError(NTSTATUS);