public static extern DialogBoxResult MessageBoxIndirectA([In] ref MsgBoxParamsA lpmbp);
/// <summary> /// The ANSI version of MessageBoxIndirect function creates, displays, and operates a message box. The message box /// contains application-defined message text and title, any icon, and any combination of predefined /// push buttons /// </summary> /// <param name="lpmbp">Pointer to a MSGBOXPARAMSA structure that contains information used to display /// the message box</param> /// <returns>If the function succeeds, the return value is one of the following menu-item values. If a /// message box has a Cancel button, the function returns the IDCANCEL value if either the ESC key is /// pressed or the Cancel button is selected. If the message box has no Cancel button, pressing ESC /// has no effect. If there is not enough memory to create the message box, the return value is zero.</returns> public static DialogBoxResult MessageBoxIndirectA([In] ref MsgBoxParamsA lpmbp) { return(Native.MessageBoxIndirectA(ref lpmbp)); }