Subversion Repositories Aucun

Rev

Rev 40 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5 ixe013 1
#ifndef __UNLOCKPOLICY_H_
2
#define __UNLOCKPOLICY_H_
3
 
4
#ifndef EXTERN
5
#ifdef __cplusplus
6
#define EXTERN extern "C"
16 ixe013 7
#else
5 ixe013 8
#define EXTERN extern
9
#endif
10
#endif
11
 
40 ixe013 12
 
13
enum
14
{
91 ixe013 15
    eLetMSGINAHandleIt=1,
40 ixe013 16
    eUnlock,
17
    eForceLogoff,
18
};
19
 
20
EXTERN HANDLE ConvertToImpersonationToken(HANDLE token);
91 ixe013 21
EXTERN int ShouldUnlockForUser(HANDLE lsa, HANDLE current_user, const wchar_t *domain, const wchar_t *username, const wchar_t *password);
40 ixe013 22
EXTERN BOOLEAN ShouldHookUnlockPasswordDialog(HANDLE token);
5 ixe013 23
EXTERN HRESULT UsagerEstDansGroupe(HANDLE usager, const wchar_t *groupe);
24
 
25
#endif