WriteCabinetState function (shlobj_core.h)
[WriteCabinetState is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Writes the information contained in a CABINETSTATE structure into the registry.
Syntax
BOOL WriteCabinetState(
[in] CABINETSTATE *pcs
);
Parameters
[in] pcs
Type: CABINETSTATE*
A pointer to a CABINETSTATE structure that holds the values to be set.
Return value
Type: BOOL
TRUE if successful; otherwise, FALSE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shlobj_core.h (include Shlobj.h) |
Library | Shell32.lib |
DLL | Shell32.dll (version 5.0 or later) |