source: Daodan/MinGW/include/security.h@ 1068

Last change on this file since 1068 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 1.2 KB
Line 
1#ifndef _SECURITY_H
2#define _SECURITY_H
3#if __GNUC__ >=3
4#pragma GCC system_header
5#endif
6
7
8#define SEC_E_OK 0
9#define SEC_E_CERT_EXPIRED (-2146893016)
10#define SEC_E_INCOMPLETE_MESSAGE (-2146893032)
11#define SEC_E_INSUFFICIENT_MEMORY (-2146893056)
12#define SEC_E_INTERNAL_ERROR (-2146893052)
13#define SEC_E_INVALID_HANDLE (-2146893055)
14#define SEC_E_INVALID_TOKEN (-2146893048)
15#define SEC_E_LOGON_DENIED (-2146893044)
16#define SEC_E_NO_AUTHENTICATING_AUTHORITY (-2146893039)
17#define SEC_E_NO_CREDENTIALS (-2146893042)
18#define SEC_E_TARGET_UNKNOWN (-2146893053)
19#define SEC_E_UNSUPPORTED_FUNCTION (-2146893054)
20#define SEC_E_UNTRUSTED_ROOT (-2146893019)
21#define SEC_E_WRONG_PRINCIPAL (-2146893022)
22#define SEC_E_SECPKG_NOT_FOUND (-2146893051)
23#define SEC_E_QOP_NOT_SUPPORTED (-2146893046)
24#define SEC_E_UNKNOWN_CREDENTIALS (-2146893043)
25#define SEC_E_NOT_OWNER (-2146893050)
26#define SEC_I_RENEGOTIATE 590625
27#define SEC_I_COMPLETE_AND_CONTINUE 590612
28#define SEC_I_COMPLETE_NEEDED 590611
29#define SEC_I_CONTINUE_NEEDED 590610
30#define SEC_I_INCOMPLETE_CREDENTIALS 590624
31
32/* always a char */
33typedef char SEC_CHAR;
34typedef wchar_t SEC_WCHAR;
35typedef long SECURITY_STATUS;
36#define SEC_FAR
37
38#include <sspi.h>
39#include <ntsecpkg.h>
40#include <secext.h>
41
42#endif /* _SECURITY_H */
Note: See TracBrowser for help on using the repository browser.