Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Shows the library management dialog box, which enables users to manage the library folders and default save location.
Syntax
HRESULT SHShowManageLibraryUI(
[in] IShellItem *psiLibrary,
[in, optional] HWND hwndOwner,
[in, optional] LPCWSTR pszTitle,
[in, optional] LPCWSTR pszInstruction,
[in] LIBRARYMANAGEDIALOGOPTIONS lmdOptions
);
Parameters
[in] psiLibrary
Type: IShellItem*
A pointer to an IShellItem object that represents the library that is to be managed.
[in, optional] hwndOwner
Type: HWND
The handle for the window that owns the library management dialog box. The value of this parameter can be NULL.
[in, optional] pszTitle
Type: LPCWSTR
A pointer to the title for the library management dialog. To display the generic title string, set the value of this parameter to NULL.
[in, optional] pszInstruction
Type: LPCWSTR
A pointer to a help string to display below the title string in the library management dialog box. To display the generic help string, set the value of this parameter to NULL.
[in] lmdOptions
Type: LIBRARYMANAGEDIALOGOPTIONS
A value from the LIBRARYMANAGEDIALOGOPTIONS enumeration that specifies the behavior of the management dialog box.
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
DLL | Shell32.dll |