ReactOS 0.4.15-dev-7961-gdcf9eb0
CabinetStateSettings Struct Reference

#include <settings.h>

Inheritance diagram for CabinetStateSettings:
Collaboration diagram for CabinetStateSettings:

Public Member Functions

void Load ()
 

Public Attributes

BOOL fFullPathAddress = TRUE
 
- Public Attributes inherited from CABINETSTATE
WORD cLength
 
WORD nVersion
 
BOOL fFullPathTitle:1
 
BOOL fSaveLocalView:1
 
BOOL fNotShell:1
 
BOOL fSimpleDefault:1
 
BOOL fDontShowDescBar:1
 
BOOL fNewWindowMode:1
 
BOOL fShowCompColor:1
 
BOOL fDontPrettyNames:1
 
BOOL fAdminsCreateCommonGroups:1
 
UINT fUnusedFlags:7
 
UINT __pad0__:15
 
UINT fMenuEnumFilter
 

Detailed Description

Definition at line 23 of file settings.h.

Member Function Documentation

◆ Load()

void CabinetStateSettings::Load ( )

Definition at line 36 of file settings.cpp.

37{
38 ReadCabinetState(this, this->cLength);
39
40 /* Overrides */
41 fFullPathTitle = SHRegGetBoolUSValueW(L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\CabinetState",
42 L"FullPath", FALSE, FALSE);
43
44 fFullPathAddress = SHRegGetBoolUSValueW(L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\CabinetState",
45 L"FullPathAddress", FALSE, TRUE);
46}
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
BOOL WINAPI SHRegGetBoolUSValueW(LPCWSTR pszSubKey, LPCWSTR pszValue, BOOL fIgnoreHKCU, BOOL fDefault)
Definition: reg.c:770
#define L(x)
Definition: ntvdm.h:50
BOOL WINAPI ReadCabinetState(CABINETSTATE *cs, int length)
Definition: shellord.c:1609
WORD cLength
Definition: shlobj.h:2370
BOOL fFullPathTitle
Definition: shlobj.h:2372

Referenced by CShellBrowser::CShellBrowser(), and CShellBrowser::RefreshCabinetState().

Member Data Documentation

◆ fFullPathAddress

BOOL CabinetStateSettings::fFullPathAddress = TRUE

Definition at line 25 of file settings.h.

Referenced by Load(), and CAddressEditBox::RefreshAddress().


The documentation for this struct was generated from the following files: