INamespaceWalkCB::InitializeProgressDialog method

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

ppszTitle [out]

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.

ppszCancel [out]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll

 

 

Show: