/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/previewpane/common/cominterop/IOleWindow.cs
31 строка
1 KB
Clint Rutkas
whitespace forced changes (#6002)
17 авг 2020, 20:00
Не верифицирован
17 авг 2020, 20:00
d055ba1
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation // The Microsoft Corporation 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 Common.ComInterlop { /// <summary> /// The IOleWindow interface provides methods that allow an application to obtain the handle to the various windows that participate /// in in-place activation, and also to enter and exit context-sensitive help mode. /// </summary> [ComImport] [Guid("00000114-0000-0000-C000-000000000046")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface IOleWindow { /// <summary> /// Retrieves a handle to one of the windows participating in in-place activation (frame, document, parent, or in-place object window). /// </summary> /// <param name="phwnd">A pointer to a variable that receives the window handle.</param> void GetWindow(out IntPtr phwnd); /// <summary> /// Determines whether context-sensitive help mode should be entered during an in-place activation session. /// </summary> /// <param name="fEnterMode">TRUE if help mode should be entered; FALSE if it should be exited.</param> void ContextSensitiveHelp([MarshalAs(UnmanagedType.Bool)] bool fEnterMode); } }