PifMgr_CloseProperties function (shlobj_core.h)

[PifMgr_CloseProperties is available for use in the

operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Closes application properties that were opened with PifMgr_OpenProperties.

Syntax

HANDLE PifMgr_CloseProperties(
  [in] HANDLE hProps,
  [in] UINT   flOpt
);

Parameters

[in] hProps

Type: HANDLE

A handle to the application's properties. This parameter should be set to the value that is returned by PifMgr_OpenProperties.

[in] flOpt

Type: UINT

A flag that specifies how the function operates.

CLOSEPROPS_DISCARD

Abandon cached data.

CLOSEPROPS_NONE

No options specified.

Return value

Type: int

Returns NULL if successful. If unsuccessful, the functions returns the handle to the application properties that was passed as hProps.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shlobj_core.h
Library Shell32.lib
DLL Shell32.dll (version 5.0 or later)

See also

PifMgr_GetProperties

PifMgr_SetProperties