IAPI::Echo

Replaces WScript.Echo.

Echoes a text message even if running with CScript.exe or WScript.exe

 

HRESULT Echo(
  BSTR strMessage
);

Parameters

strMessage

[in] .   A text message to display in a console window (like DOS).

          A text message as an empty string (“”) will produce a exclamation bip sound.

Return Values

S_OK

The operation was successfull.

E_UNEXPECTED

An unexpected error occoured.

E_FAIL

A general error occoured.

See Also

IAPI