This topic has not yet been rated - Rate this topic

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.]

Applies to: desktop apps only

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

Minimum supported server

Windows Server 2003

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)

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ