2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2006-11-08 11:47:44 +00:00
|
|
|
|
|
|
|
#define DECLARE_RETURN(type) type _ret_
|
|
|
|
#define RETURN(value) { _ret_ = value; goto _cleanup_; }
|
|
|
|
#define CLEANUP /*unreachable*/ ASSERT(FALSE); _cleanup_
|
|
|
|
#define END_CLEANUP return _ret_;
|
|
|
|
|
|
|
|
|
2007-02-28 13:21:48 +00:00
|
|
|
#define UserEnterCo UserEnterExclusive
|
|
|
|
#define UserLeaveCo UserLeave
|
2006-11-08 11:47:44 +00:00
|
|
|
|
2008-05-30 06:13:52 +00:00
|
|
|
extern PSERVERINFO gpsi;
|
2006-11-08 11:47:44 +00:00
|
|
|
|
|
|
|
NTSTATUS FASTCALL InitUserImpl(VOID);
|
2007-02-28 13:21:48 +00:00
|
|
|
VOID FASTCALL CleanupUserImpl(VOID);
|
|
|
|
VOID FASTCALL UserEnterShared(VOID);
|
|
|
|
VOID FASTCALL UserEnterExclusive(VOID);
|
|
|
|
VOID FASTCALL UserLeave(VOID);
|
2009-08-24 20:09:58 +00:00
|
|
|
BOOL FASTCALL UserIsEntered(VOID);
|
|
|
|
BOOL FASTCALL UserIsEnteredExclusive(VOID);
|
2006-11-08 11:47:44 +00:00
|
|
|
|
|
|
|
/* EOF */
|