Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.