IQueryContinueWithStatus::SetStatusMessage method

Enables the credential provider to set status messages as it attempts to complete IConnectableCredentialProviderCredential::Connect.

Syntax


HRESULT SetStatusMessage(
  [in] LPCWSTR psz
);

Parameters

psz [in]

Type: LPCWSTR

A pointer to the status message.

Return value

Type: HRESULT

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

Remarks

The Logon UI will display the status message during Connect. This is especially useful during lengthy attempt to connect to inform the user of the status and continued attempts.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Credentialprovider.h

IDL

Credentialprovider.idl

 

 

Show: