Επεξεργασία

Κοινή χρήση μέσω


INamespaceWalkCB::InitializeProgressDialog method (shobjidl_core.h)

Initializes the window title and cancel button text of the progress dialog box displayed during the namespace walk.

Syntax

HRESULT InitializeProgressDialog(
  [out] LPWSTR *ppszTitle,
  [out] LPWSTR *ppszCancel
);

Parameters

[out] ppszTitle

Type: LPWSTR*

When this method returns, contains a pointer to a null-terminated string that contains the title to be used for the dialog box.

[out] ppszCancel

Type: LPWSTR*

When this method returns, contains a pointer to a null-terminated string that contains the text displayed on the button that cancels the namespace walk.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll