[CMAKE]
[reactos.git] / subsystems / win32 / win32k / include / ntuser.h
1 #pragma once
2
3 #define DECLARE_RETURN(type) type _ret_
4 #define RETURN(value) { _ret_ = value; goto _cleanup_; }
5 #define CLEANUP /*unreachable*/ ASSERT(FALSE); _cleanup_
6 #define END_CLEANUP return _ret_;
7
8
9 #define UserEnterCo UserEnterExclusive
10 #define UserLeaveCo UserLeave
11
12 extern PSERVERINFO gpsi;
13
14 INIT_FUNCTION NTSTATUS NTAPI InitUserImpl(VOID);
15 VOID FASTCALL CleanupUserImpl(VOID);
16 VOID FASTCALL UserEnterShared(VOID);
17 VOID FASTCALL UserEnterExclusive(VOID);
18 VOID FASTCALL UserLeave(VOID);
19 BOOL FASTCALL UserIsEntered(VOID);
20 BOOL FASTCALL UserIsEnteredExclusive(VOID);
21
22 /* EOF */