次の方法で共有


IOleComponentUIManager.SetStatus(String, UInt32) Method

Definition

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

public:
 int SetStatus(System::String ^ pwszStatusText, System::UInt32 dwReserved);
public:
 int SetStatus(Platform::String ^ pwszStatusText, unsigned int dwReserved);
int SetStatus(std::wstring const & pwszStatusText, unsigned int dwReserved);
public int SetStatus (string pwszStatusText, uint dwReserved);
abstract member SetStatus : string * uint32 -> int
Public Function SetStatus (pwszStatusText As String, dwReserved As UInteger) As Integer

Parameters

pwszStatusText
String

[in] Specifies the status text message to display.

dwReserved
UInt32

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

Returns

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

Remarks

COM Signature

From oleipc.idl:

HRESULT IOleComponentUIManager::SetStatus(  
   [in] LPCOLESTR pwszStatusText,  
   [in] DWORD dwReserved  
);  

Applies to