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 microsoft.visualstudio.shell.interop.dll)

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

Parameters

pwszStatusText

[in] Specifies the status text message to display.

dwReserved

[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
);
Show:
© 2016 Microsoft