ReactOS  0.4.14-dev-115-g4576127
ntuser.h
Go to the documentation of this file.
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;
14 extern PPROCESSINFO gppiList;
19 extern ATOM AtomDDETrack;
20 extern ATOM AtomQOS;
21 
22 INIT_FUNCTION NTSTATUS NTAPI InitUserImpl(VOID);
30 
31 _Success_(return != FALSE)
32 BOOL
33 NTAPI
34 RegReadUserSetting(
35  _In_z_ PCWSTR pwszKeyName,
40 
41 _Success_(return != FALSE)
42 BOOL
43 NTAPI
44 RegWriteUserSetting(
45  _In_z_ PCWSTR pwszKeyName,
50 
51 /* EOF */
INIT_FUNCTION NTSTATUS NTAPI InitUserImpl(VOID)
Definition: ntuser.c:77
const uint16_t * PCWSTR
Definition: typedefs.h:55
WORD ATOM
Definition: dimm.idl:113
LONG NTSTATUS
Definition: precomp.h:26
VOID FASTCALL UserEnterShared(VOID)
Definition: ntuser.c:241
BOOL FASTCALL UserIsEnteredExclusive(VOID)
Definition: ntuser.c:231
#define FASTCALL
Definition: nt_native.h:50
VOID FASTCALL UserEnterExclusive(VOID)
Definition: ntuser.c:247
_Success_(return !=0) _At_(pustrName -> Buffer, _Out_z_bytecap_post_bytecount_(pustrName->MaximumLength, return *2+2)) ULONG APIENTRY NtUserGetAtomName(_In_ ATOM atom, _Inout_ PUNICODE_STRING pustrName)
Definition: fsctrl.c:3139
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
PSERVERINFO gpsi
Definition: main.c:27
unsigned int BOOL
Definition: ntddk_ex.h:94
_In_z_ PCWSTR _In_ ULONG _Post_z_ PVOID _In_ ULONG cjDataSize
Definition: ntuser.h:38
_In_ ULONG _In_opt_ PVOID pvData
Definition: winddi.h:3748
VOID FASTCALL UserLeave(VOID)
Definition: ntuser.c:255
BOOL g_AlwaysDisplayVersion
Definition: ntuser.c:17
_In_z_ PCWSTR _In_ ULONG _In_reads_bytes_(cjDataSize) const VOID *pvData
DWORD FASTCALL UserGetLanguageToggle(VOID)
Definition: misc.c:80
_In_z_ PCWSTR pwszValueName
Definition: ntuser.h:36
BOOL FASTCALL UserIsEntered(VOID)
Definition: ntuser.c:225
ATOM AtomQOS
Definition: ntuser.c:24
unsigned long DWORD
Definition: ntddk_ex.h:95
ATOM AtomDDETrack
Definition: ntuser.c:23
PPROCESSINFO ppiScrnSaver
Definition: main.c:30
PPROCESSINFO gppiInputProvider
Definition: ntuser.c:16
VOID FASTCALL CleanupUserImpl(VOID)
Definition: ntuser.c:236
#define _Post_z_
Definition: no_sal2.h:469
#define _In_
Definition: no_sal2.h:204
_In_z_ PCWSTR _In_ ULONG _Out_writes_bytes_(cjDataSize) _When_(ulType
#define _In_z_
Definition: no_sal2.h:239
PTHREADINFO gptiCurrent
Definition: ntuser.c:15
#define _When_(expr, annos)
Definition: no_sal2.h:639
PPROCESSINFO gppiList
Definition: main.c:31
_In_z_ PCWSTR _In_ ULONG ulType
Definition: ntuser.h:36
unsigned int ULONG
Definition: retypes.h:1
ATOM gaGuiConsoleWndClass
Definition: ntuser.c:27
#define REG_SZ
Definition: layer.c:22