#include "precomp.h"
Go to the source code of this file.
Classes | |
struct | tagFASTREGMAP |
struct | tagPROFILEUSERNAME |
Defines | |
#define | PROOT_CPANEL 0 |
#define | PROOT_ACCESS 1 |
#define | PROOT_CURRENTM 2 |
#define | PROOT_CURRENTU 3 |
#define | PROOT_CONTROL 4 |
#define | PROOT_SERVICES 5 |
#define | PROOT_KEYBOARD 6 |
Typedefs | |
typedef tagFASTREGMAP | FASTREGMAP |
typedef tagFASTREGMAP * | PFASTREGMAP |
typedef tagPROFILEUSERNAME | PROFILEUSERNAME |
typedef tagPROFILEUSERNAME * | PPROFILEUSERNAME |
Functions | |
void | InitPreviousUserString (void) |
PUNICODE_STRING | CreateProfileUserName (TL *ptl) |
void | FreeProfileUserName (PUNICODE_STRING pProfileUserName, TL *ptl) |
HANDLE | RemoteOpenCacheKeyEx (UINT idSection, ACCESS_MASK amRequest) |
HANDLE | OpenCacheKeyEx (PUNICODE_STRING pMapName OPTIONAL, UINT idSection, ACCESS_MASK amRequest, PDWORD pdwPolicyFlags) |
BOOL | CheckDesktopPolicy (PUNICODE_STRING pProfileUserName OPTIONAL, PCWSTR lpKeyName) |
BOOL | CheckDesktopPolicyChange (PUNICODE_STRING pProfileUserName OPTIONAL) |
DWORD | FastGetProfileDwordW (PUNICODE_STRING pProfileUserName OPTIONAL, UINT idSection, LPCWSTR lpKeyName, DWORD dwDefault) |
DWORD | FastGetProfileKeysW (PUNICODE_STRING pProfileUserName OPTIONAL, UINT idSection, LPCWSTR lpDefault, LPWSTR *lpReturnedString) |
DWORD | FastGetProfileStringW (PUNICODE_STRING pProfileUserName OPTIONAL, UINT idSection, LPCWSTR lpKeyName, LPCWSTR lpDefault, LPWSTR lpReturnedString, DWORD cchBuf) |
UINT | FastGetProfileIntW (PUNICODE_STRING pProfileUserName OPTIONAL, UINT idSection, LPCWSTR lpKeyName, UINT nDefault) |
BOOL | FastWriteProfileStringW (PUNICODE_STRING pProfileUserName OPTIONAL, UINT idSection, LPCWSTR lpKeyName, LPCWSTR lpString) |
int | FastGetProfileIntFromID (PUNICODE_STRING pProfileUserName OPTIONAL, UINT idSection, UINT idKey, int def) |
DWORD | FastGetProfileStringFromIDW (PUNICODE_STRING pProfileUserName OPTIONAL, UINT idSection, UINT idKey, LPCWSTR lpDefault, LPWSTR lpReturnedString, DWORD cch) |
BOOL | FastWriteProfileValue (PUNICODE_STRING pProfileUserName OPTIONAL, UINT idSection, LPCWSTR lpKeyName, UINT uType, LPBYTE lpStruct, UINT cbSizeStruct) |
DWORD | FastGetProfileValue (PUNICODE_STRING pProfileUserName OPTIONAL, UINT idSection, LPCWSTR lpKeyName, LPBYTE lpDefault, LPBYTE lpReturn, UINT cbSizeReturn) |
BOOL | FastGetProfileIntsW (PUNICODE_STRING pProfileUserName OPTIONAL, PPROFINTINFO ppii) |
BOOL | FastUpdateWinIni (PUNICODE_STRING pProfileUserName OPTIONAL, UINT idSection, UINT wKeyNameId, LPWSTR lpszValue) |
Variables | |
CONST PCWSTR | aFastRegRoot [] |
CONST FASTREGMAP | aFastRegMap [PMAP_LAST+1] |
DWORD | gdwPolicyFlags = POLICY_ALL |
WCHAR | PreviousUserStringBuf [256] |
UNICODE_STRING | PreviousUserString = {0, sizeof PreviousUserStringBuf, PreviousUserStringBuf} |
LUID | luidPrevious |
CONST WCHAR | wszDefaultUser [] = L"\\Registry\\User\\.Default" |
UNICODE_STRING | DefaultUserString = {sizeof wszDefaultUser - sizeof(WCHAR), sizeof wszDefaultUser, (WCHAR *)wszDefaultUser} |
|
Definition at line 30 of file w32/ntuser/kernel/profile.c. |
|
Definition at line 33 of file w32/ntuser/kernel/profile.c. |
|
Definition at line 29 of file w32/ntuser/kernel/profile.c. |
|
Definition at line 31 of file w32/ntuser/kernel/profile.c. |
|
Definition at line 32 of file w32/ntuser/kernel/profile.c. |
|
Definition at line 35 of file w32/ntuser/kernel/profile.c. |
|
Definition at line 34 of file w32/ntuser/kernel/profile.c. |
|
|
|
|
|
Referenced by CreateProfileUserName(). |
|
|
|
Definition at line 426 of file w32/ntuser/kernel/profile.c. References ARRAY_SIZE, BOOL, DWORD, FALSE, gdwPolicyFlags, GetCurrentProcessId, gpidLogon, hModuleWin, IS_PTR, NT_ERROR, NTSTATUS(), NULL, OpenCacheKeyEx(), PMAP_DESKTOP, POLICY_MACHINE, POLICY_USER, PTR_TO_ID, RtlInitUnicodeString(), ServerLoadString, Status, and TRUE. Referenced by xxxSystemParametersInfo().
|
|
Definition at line 499 of file w32/ntuser/kernel/profile.c. References BOOL, DWORD, FALSE, gdwPolicyFlags, OpenCacheKeyEx(), PMAP_DESKTOP, POLICY_MACHINE, POLICY_USER, and TRUE. Referenced by xxxUpdatePerUserSystemParameters().
|
|
Definition at line 151 of file w32/ntuser/kernel/profile.c. References tagPROFILEUSERNAME::awcName, CheckCritIn, InitPreviousUserString(), tagPROFILEUSERNAME::NameString, NULL, PPROFILEUSERNAME, PreviousUserString, PtiCurrent, RtlCopyUnicodeString(), and ThreadLockPool. Referenced by InitUserScreen(), NtUserSetSysColors(), PrepareForLogoff(), xxxDesktopWndProc(), xxxInitWindowStation(), xxxResetDisplayDevice(), xxxSetIMEShowStatus(), xxxSystemParametersInfo(), and xxxUpdatePerUserSystemParameters().
|
|
Definition at line 575 of file w32/ntuser/kernel/profile.c. References BYTE, DWORD, gbRemoteSession, NT_SUCCESS, NULL, OpenCacheKeyEx(), PMAP_LAST, RemoteOpenCacheKeyEx(), RtlInitUnicodeString(), and Status. Referenced by IsIMMEnabledSystem(), OpenMultiplePortDevice(), SetDebugHotKeys(), Win32UserInitialize(), and xxxUpdatePerUserSystemParameters().
|
|
Definition at line 1031 of file w32/ntuser/kernel/profile.c. References ARRAY_SIZE, FastGetProfileIntW(), gpsi, hModuleWin, MultDiv, PMAP_LAST, and ServerLoadString. Referenced by LW_LoadProfileInitData(), MetricGetID(), and xxxUpdatePerUserSystemParameters().
|
|
Definition at line 1290 of file w32/ntuser/kernel/profile.c. References ARRAY_SIZE, BOOL, FastGetProfileIntW(), hModuleWin, tagPROFINTINFO::idSection, tagPROFINTINFO::lpKeyName, tagPROFINTINFO::nDefault, PPROFINTINFO, PTR_TO_ID, tagPROFINTINFO::puResult, ServerLoadString, and TRUE. Referenced by xxxSetDeskWallpaper(), and xxxUpdatePerUserSystemParameters().
|
|
Definition at line 945 of file w32/ntuser/kernel/profile.c. References FastGetProfileStringW(), NULL, PMAP_LAST, RtlInitUnicodeString(), RtlUnicodeStringToInteger(), and UINT. Referenced by FastGetProfileIntFromID(), FastGetProfileIntsW(), GetKbdLangSwitch(), UpdatePerUserKeyboardIndicators(), xxxUpdatePerUserAccessPackSettings(), and xxxUpdatePerUserSystemParameters().
|
|
Definition at line 642 of file w32/ntuser/kernel/profile.c. References Buffer, DWORD, L, NT_SUCCESS, NULL, OpenCacheKeyEx(), PMAP_LAST, Status, and TRUE. Referenced by bEnumerateRegistryFonts().
|
|
Definition at line 1086 of file w32/ntuser/kernel/profile.c. References ARRAY_SIZE, DWORD, FastGetProfileStringW(), hModuleWin, PMAP_LAST, and ServerLoadString. Referenced by GetDeskWallpaperName(), LW_LoadResources(), xxxODI_ColorInit(), xxxSetDeskPattern(), xxxSystemParametersInfo(), xxxUpdateSystemCursorsFromRegistry(), and xxxUpdateSystemIconsFromRegistry().
|
|
Definition at line 806 of file w32/ntuser/kernel/profile.c. References BOOL, DWORD, FALSE, gbRemoteSession, gdwPolicyFlags, gpidLogon, L, NT_SUCCESS, NULL, OpenCacheKeyEx(), PMAP_LAST, PsGetCurrentProcess, RemoteOpenCacheKeyEx(), RtlInitUnicodeString(), Status, and TRUE. Referenced by bEnumerateRegistryFonts(), FastGetProfileIntW(), FastGetProfileStringFromIDW(), InitCreateUserSubsystem(), OpenMultiplePortDevice(), SetAppCompatFlags(), SetAppImeCompatFlags(), and xxxUpdatePerUserAccessPackSettings().
|
|
Definition at line 1173 of file w32/ntuser/kernel/profile.c. References ARRAY_SIZE, DWORD, gbRemoteSession, hModuleWin, IS_PTR, NT_SUCCESS, NULL, OpenCacheKeyEx(), PMAP_LAST, PTR_TO_ID, RemoteOpenCacheKeyEx(), RtlInitUnicodeString(), ServerLoadString, SERVERSTRINGMAXSIZE, Status, and UINT. Referenced by CreateFontFromWinIni(), CreateSetupNameArray(), InitScancodeMap(), LoadCPUserPreferences(), SetAppCompatFlags(), xxxSystemParametersInfo(), and xxxUpdatePerUserSystemParameters().
|
|
Definition at line 1323 of file w32/ntuser/kernel/profile.c. References ARRAY_SIZE, BOOL, FALSE, FastWriteProfileStringW(), hModuleWin, PMAP_LAST, and ServerLoadString. Referenced by xxxSystemParametersInfo().
|
|
Definition at line 988 of file w32/ntuser/kernel/profile.c. References BOOL, FALSE, NT_SUCCESS, NULL, OpenCacheKeyEx(), PMAP_LAST, RtlInitUnicodeString(), and Status. Referenced by FastUpdateWinIni(), RegisterPerUserKeyboardIndicators(), SetFilterKeys(), SetMouseKeys(), SetSoundSentry(), UpdateWinIniInt(), xxxSystemParametersInfo(), and xxxUpdatePerUserSystemParameters().
|
|
Definition at line 1115 of file w32/ntuser/kernel/profile.c. References ARRAY_SIZE, BOOL, FALSE, hModuleWin, IS_PTR, NT_SUCCESS, NULL, OpenCacheKeyEx(), PMAP_LAST, PTR_TO_ID, RtlInitUnicodeString(), ServerLoadString, SERVERSTRINGMAXSIZE, and Status. Referenced by SetWindowMetricFont(), and xxxSystemParametersInfo().
|
|
Definition at line 174 of file w32/ntuser/kernel/profile.c. References CheckCritIn, PtiCurrent, and ThreadUnlockAndFreePool. Referenced by InitUserScreen(), NtUserSetSysColors(), PrepareForLogoff(), xxxDesktopWndProc(), xxxInitWindowStation(), xxxResetDisplayDevice(), xxxSetIMEShowStatus(), xxxSystemParametersInfo(), and xxxUpdatePerUserSystemParameters().
|
|
Definition at line 103 of file w32/ntuser/kernel/profile.c. References CheckCritIn, DefaultUserString, GetProcessLuid(), L, luidPrevious, luidSystem, NT_SUCCESS, NULL, PreviousUserString, PreviousUserStringBuf, RtlAppendUnicodeToString(), RtlCopyUnicodeString(), RtlEqualLuid(), RtlFormatCurrentUserKeyPath(), and RtlFreeUnicodeString(). Referenced by CreateProfileUserName(), and OpenCacheKeyEx().
|
|
Definition at line 263 of file w32/ntuser/kernel/profile.c. References AccessCheckObject(), aFastRegMap, aFastRegRoot, CheckCritIn, DWORD, gpepCSRSS, gpepInit, gpidLogon, tagFASTREGMAP::idRoot, InitPreviousUserString(), KernelMode, KeyMapping, L, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PMAP_DESKTOP, PMAP_LAST, POLICY_ALL, POLICY_MACHINE, POLICY_NONE, POLICY_USER, PreviousUserString, PsGetCurrentProcess, RtlAppendUnicodeStringToString(), RtlAppendUnicodeToString(), Status, and UserMode.
|
|
Definition at line 188 of file w32/ntuser/kernel/profile.c. References aFastRegMap, aFastRegRoot, CheckCritIn, gbRemoteSession, gstrBaseWinStationName, tagFASTREGMAP::idRoot, L, NT_SUCCESS, NULL, PMAP_LAST, RtlAppendUnicodeToString(), Status, and TRUE. Referenced by FastGetProfileDwordW(), FastGetProfileStringW(), and FastGetProfileValue().
|
|
Definition at line 52 of file w32/ntuser/kernel/profile.c. Referenced by OpenCacheKeyEx(), and RemoteOpenCacheKeyEx(). |
|
Initial value: Definition at line 42 of file w32/ntuser/kernel/profile.c. Referenced by OpenCacheKeyEx(), and RemoteOpenCacheKeyEx(). |
|
Definition at line 101 of file w32/ntuser/kernel/profile.c. Referenced by InitPreviousUserString(). |
|
Definition at line 95 of file w32/ntuser/kernel/profile.c. Referenced by CheckDesktopPolicy(), CheckDesktopPolicyChange(), and FastGetProfileStringW(). |
|
Definition at line 98 of file w32/ntuser/kernel/profile.c. Referenced by InitPreviousUserString(). |
|
Definition at line 97 of file w32/ntuser/kernel/profile.c. Referenced by CreateProfileUserName(), InitPreviousUserString(), and OpenCacheKeyEx(). |
|
Definition at line 96 of file w32/ntuser/kernel/profile.c. Referenced by InitPreviousUserString(). |
|
Definition at line 100 of file w32/ntuser/kernel/profile.c. |