Share via


_MsgBox (Windows Embedded CE 6.0)

1/6/2010

This function displays a message box with OK and Cancel buttons on the target device.

Syntax

int _MsgBox(
  BSTR String 
);

Parameters

  • String
    Text to display in the message box.

Return Value

If OK is chosen, this function returns IDOK, or 1. If Cancel is chosen, this function returns IDCANCEL, or 2.

Remarks

You can call this function from a script that Cescript.exe executes.

Requirements

Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Other Resources

Scripting Host Functions