/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/IVsMessageBoxService.cs
27 строк
862 B
Sam Harwell
Add a message box handler
22 дек 2023, 01:33
22 дек 2023, 01:33
3d63372
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; namespace Roslyn.VisualStudio.NewIntegrationTests.InProcess; [ComImport] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [Guid("1DD71F22-C880-46be-A462-A0A5542BC939")] internal interface IVsMessageBoxService { [PreserveSig] int ShowMessageBox( IntPtr hWndOwner, IntPtr hInstance, [MarshalAs(UnmanagedType.LPWStr)] string lpszText, [MarshalAs(UnmanagedType.LPWStr)] string lpszCaption, uint dwStyle, IntPtr lpszIcon, IntPtr dwContextHelpId, IntPtr pfnMessageBoxCallback, uint dwLangID, out int pidButton); }