Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ReadCabinetState
Collapse the table of content
Expand the table of content

ReadCabinetState function

[ReadCabinetState is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Fills a CABINETSTATE structure with information from the registry.

Syntax


BOOL ReadCabinetState(
  _Out_ CABINETSTATE *pcs,
  _In_  int          cLength
);

Parameters

pcs [out]

Type: CABINETSTATE*

When this function returns, contains a pointer to a CABINETSTATE structure that contains either information pulled from the registry or default information.

cLength [in]

Type: int

The size of the structure pointed to by pcs, in bytes.

Return value

Type: BOOL

Returns TRUE if the returned structure contains information from the registry. Returns FALSE if the structure contains default information.

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)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft