ReactOS  0.4.15-dev-4869-g35a816a
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 #define IS_IMM_MODE() (gpsi && (gpsi->dwSRVIFlags & SRVINFO_IMM32))
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 extern ATOM AtomImeLevel;
22 extern ERESOURCE UserLock;
23 
32 
34 BOOL
35 NTAPI
36 RegReadUserSetting(
37  _In_z_ PCWSTR pwszKeyName,
42 
44 BOOL
45 NTAPI
46 RegWriteUserSetting(
47  _In_z_ PCWSTR pwszKeyName,
52 
54 NTAPI
57  IN PWSTR pwszRegKey);
58 
59 /* EOF */
const uint16_t * PCWSTR
Definition: typedefs.h:57
#define IN
Definition: typedefs.h:39
return
Definition: dirsup.c:529
WORD ATOM
Definition: dimm.idl:113
uint16_t * PWSTR
Definition: typedefs.h:56
LONG NTSTATUS
Definition: precomp.h:26
VOID FASTCALL UserEnterShared(VOID)
Definition: ntuser.c:242
ERESOURCE UserLock
Definition: ntuser.c:18
#define _When_(expr, annos)
Definition: ms_sal.h:254
BOOL FASTCALL UserIsEnteredExclusive(VOID)
Definition: ntuser.c:231
#define FASTCALL
Definition: nt_native.h:50
VOID FASTCALL UserEnterExclusive(VOID)
Definition: ntuser.c:249
_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: imm.c:17
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
_In_z_ PCWSTR _In_ ULONG _Post_z_ PVOID _In_ ULONG cjDataSize
Definition: ntuser.h:40
_In_ ULONG _In_opt_ PVOID pvData
Definition: winddi.h:3748
#define _In_
Definition: ms_sal.h:308
#define _Post_z_
Definition: ms_sal.h:691
#define _In_z_
Definition: ms_sal.h:313
VOID FASTCALL UserLeave(VOID)
Definition: ntuser.c:258
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:81
_In_z_ PCWSTR pwszValueName
Definition: ntuser.h:38
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
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR pwszDeviceName
Definition: winddi.h:3553
PPROCESSINFO gppiInputProvider
Definition: ntuser.c:16
VOID FASTCALL CleanupUserImpl(VOID)
Definition: ntuser.c:236
_In_z_ PCWSTR _In_ ULONG _Out_writes_bytes_(cjDataSize) _When_(ulType
CODE_SEG("INIT") NTSTATUS NTAPI InitUserImpl(VOID)
Definition: Interface.c:1810
ATOM AtomImeLevel
Definition: ntuser.c:28
PTHREADINFO gptiCurrent
Definition: ntuser.c:15
PPROCESSINFO gppiList
Definition: main.c:31
_In_z_ PCWSTR _In_ ULONG ulType
Definition: ntuser.h:38
NTSTATUS NTAPI InitUserImpl(VOID)
Definition: ntuser.c:79
ULONG ERESOURCE
Definition: env_spec_w32.h:594
unsigned int ULONG
Definition: retypes.h:1
ATOM gaGuiConsoleWndClass
Definition: ntuser.c:27
#define const
Definition: zconf.h:230
PGRAPHICS_DEVICE NTAPI InitDisplayDriver(IN PWSTR pwszDeviceName, IN PWSTR pwszRegKey)
Definition: display.c:66
#define REG_SZ
Definition: layer.c:22