SetStatus Method
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

IOleComponentUIManager.SetStatus Method

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

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

int SetStatus (
	[InAttribute] string pwszStatusText,
	[InAttribute] uint dwReserved
int SetStatus (
	/** @attribute InAttribute() */ String pwszStatusText, 
	/** @attribute InAttribute() */ UInt32 dwReserved
function SetStatus (
	pwszStatusText : String, 
	dwReserved : uint
) : int



[in] Specifies the status text message to display.


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

Return Value

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

COM Signature

From oleipc.idl:

HRESULT IOleComponentUIManager::SetStatus(
   [in] LPCOLESTR pwszStatusText,
   [in] DWORD dwReserved
© 2016 Microsoft