WriteCabinetState function

[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(
  CABINETSTATE *pcs
);

Parameters

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

   
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)