WriteCabinetState
TOC
Collapse the table of content
Expand the table of content

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

Parameters

pcs [in]

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]

End of client support

Windows XP with SP2

End of server support

Windows Server 2003

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 5.0 or later)

 

 

Show:
© 2016 Microsoft