感谢您使用微软产品。如果您要在C#中调用MessageBoxEx() API,您可以参考以下定义:
[DllImport("user32.dll", CharSet=CharSet.Auto)]
public static extern int MessageBoxEx(int hWnd, String text,String caption, uint type,UInt16 wLanguageId);调用语法类似如下:
    MessageBoxEx(0, "Hello World", "Platform Invoke Sample", 0,0);关于MSDN中Win32 API调用的更详细的信息,您可以参考以下文档:
http://msdn.microsoft.com/library/?url=/library/en-us/cpguide/html/cpconconsumingunmanageddllfunctions.asp?frame=true http://msdn.microsoft.com/library/?url=/library/en-us/cpguide/html/cpconplatforminvokeexamples.asp?frame=true  希望以上建议能对您有所帮助!- 微软全球技术中心 VB技术支持本贴子以“现状”提供且没有任何担保,同时也没有授予任何权利。具体事项可参见使用条款(http://support.microsoft.com/directory/worldwide/zh-cn/community/terms_chs.asp)。为了为您创建更好的讨论环境,请参加我们的用户满意度调查(http://support.microsoft.com/directory/worldwide/zh-cn/community/survey.asp?key=(S,49854782))。