IOleComponentUIManager::SetStatus Method (String^, UInt32)

 

Specifies the status text message for the environment's status bar.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int SetStatus(
	String^ pwszStatusText,
	unsigned int dwReserved
)

Parameters

pwszStatusText
Type: System::String^

[in] Specifies the status text message to display.

dwReserved
Type: System::UInt32

[in] Placeholder parameter; this value is currently ignored.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From oleipc.idl:

HRESULT IOleComponentUIManager::SetStatus(
   [in] LPCOLESTR pwszStatusText,
   [in] DWORD dwReserved
);
Return to top
Show: