ShowShareFolderUI function

Displays the Folder Sharing tab on the properties sheet for the specified folder.

Syntax

HRESULT ShowShareFolderUI(
  _In_ HWND    hwndParent,
  _In_ LPCWSTR pszPath
);

Parameters

hwndParent [in]

Type: HWND

A handle to the parent window for the property sheet.

pszPath [in]

Type: LPCWSTR

A pointer to a string that specifies the path to the folder that displays its Folder Sharing tab.

Return value

Type: HRESULT

This function always returns S_OK.

Remarks

This function has no associated .lib file. You must use LoadLibrary and GetProcAddress to use it.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
DLL
Ntshrui.dll
Unicode and ANSI names
ShowShareFolderUIW (Unicode)

See also

CanShareFolderW