ReactOS 0.4.16-dev-250-g3ecd236
ntuser.h
Go to the documentation of this file.
1#pragma once
2
3#define UserEnterCo UserEnterExclusive
4#define UserLeaveCo UserLeave
5
6typedef VOID (*TL_FN_FREE)(PVOID);
7
8/* Thread Lock structure */
9typedef struct _TL
10{
11 struct _TL* next;
14} TL, *PTL;
15
16extern PSERVERINFO gpsi;
23extern ATOM AtomDDETrack;
24extern ATOM AtomQOS;
25extern ATOM AtomImeLevel;
26extern ERESOURCE UserLock;
27
36
38BOOL
40RegReadUserSetting(
41 _In_z_ PCWSTR pwszKeyName,
46
48BOOL
50RegWriteUserSetting(
51 _In_z_ PCWSTR pwszKeyName,
56
61 IN PWSTR pwszRegKey);
62
63/* EOF */
#define CODE_SEG(...)
#define VOID
Definition: acefi.h:82
LONG NTSTATUS
Definition: precomp.h:26
return
Definition: dirsup.c:529
WORD ATOM
Definition: dimm.idl:113
#define FALSE
Definition: types.h:117
ULONG ERESOURCE
Definition: env_spec_w32.h:594
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define REG_SZ
Definition: layer.c:22
#define _Post_z_
Definition: no_sal2.h:508
#define _In_reads_bytes_(s)
Definition: no_sal2.h:170
#define _Success_(c)
Definition: no_sal2.h:84
#define _In_z_
Definition: no_sal2.h:164
#define _In_
Definition: no_sal2.h:158
#define _Out_writes_bytes_(s)
Definition: no_sal2.h:178
#define _When_(c, a)
Definition: no_sal2.h:38
#define FASTCALL
Definition: nt_native.h:50
NTSTATUS NTAPI InitUserImpl(VOID)
Definition: ntuser.c:79
Definition: ntuser.h:10
TL_FN_FREE pfnFree
Definition: ntuser.h:13
struct _TL * next
Definition: ntuser.h:11
PVOID pobj
Definition: ntuser.h:12
uint16_t * PWSTR
Definition: typedefs.h:56
const uint16_t * PCWSTR
Definition: typedefs.h:57
#define NTAPI
Definition: typedefs.h:36
void * PVOID
Definition: typedefs.h:50
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
_In_z_ PCWSTR _In_ ULONG _Post_z_ PVOID _In_ ULONG cjDataSize
Definition: ntuser.h:45
struct _TL TL
PPROCESSINFO gppiInputProvider
Definition: ntuser.c:16
VOID(* TL_FN_FREE)(PVOID)
Definition: ntuser.h:6
_In_z_ PCWSTR pwszValueName
Definition: ntuser.h:42
ATOM AtomImeLevel
Definition: ntuser.c:28
BOOL FASTCALL UserIsEntered(VOID)
Definition: ntuser.c:225
PPROCESSINFO gppiList
Definition: main.c:30
BOOL g_AlwaysDisplayVersion
Definition: ntuser.c:17
DWORD FASTCALL UserGetLanguageToggle(_In_ LPCWSTR pszType, _In_ DWORD dwDefaultValue)
_In_z_ PCWSTR _In_ ULONG ulType
Definition: ntuser.h:43
PPROCESSINFO ppiScrnSaver
Definition: main.c:29
VOID FASTCALL UserLeave(VOID)
Definition: ntuser.c:258
PGRAPHICS_DEVICE NTAPI InitDisplayDriver(IN PWSTR pwszDeviceName, IN PWSTR pwszRegKey)
Definition: display.c:66
VOID FASTCALL CleanupUserImpl(VOID)
Definition: ntuser.c:236
PTHREADINFO gptiCurrent
Definition: ntuser.c:15
ATOM AtomDDETrack
Definition: ntuser.c:23
ERESOURCE UserLock
Definition: ntuser.c:18
struct _TL * PTL
ATOM AtomQOS
Definition: ntuser.c:24
VOID FASTCALL UserEnterShared(VOID)
Definition: ntuser.c:242
VOID FASTCALL UserEnterExclusive(VOID)
Definition: ntuser.c:249
ATOM gaGuiConsoleWndClass
Definition: ntuser.c:27
PSERVERINFO gpsi
Definition: imm.c:18
BOOL FASTCALL UserIsEnteredExclusive(VOID)
Definition: ntuser.c:231
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR pwszDeviceName
Definition: winddi.h:3556
_In_ ULONG _In_opt_ PVOID pvData
Definition: winddi.h:3749
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
#define const
Definition: zconf.h:233