| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/winrt/ |
Upload File : |
// Copyright (c) Microsoft Corporation. All rights reserved.
cpp_quote("#include <winapifamily.h>")
#pragma region Desktop Family
cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
import "oaidl.idl";
import "ocidl.idl";
import "inspectable.idl";
cpp_quote("#if (NTDDI_VERSION >= NTDDI_WIN8)")
// Interfaces
[object, uuid(45D64A29-A63E-4CB6-B498-5781D298CB4F)]
interface ICoreWindowInterop : IUnknown
{
[propget] HRESULT WindowHandle([out,retval] HWND *hwnd);
[propput] HRESULT MessageHandled([in] boolean value);
}
cpp_quote("#endif // NTDDI_VERSION >= NTDDI_WIN8")
cpp_quote("#if (NTDDI_VERSION >= NTDDI_WINBLUE)")
// Interfaces
[object, uuid(40BFE3E3-B75A-4479-AC96-475365749BB8)]
interface ICoreInputInterop : IUnknown
{
// The input parameter should be IDComposition2Visual. Use IUnknown for now.
// QI for this interface from ICoreInputSourceBase.
HRESULT SetInputSource([in] IUnknown *value);
[propput] HRESULT MessageHandled([in] boolean value);
}
cpp_quote("")
cpp_quote("HRESULT _cdecl CreateControlInput(")
cpp_quote(" _In_ REFIID riid,")
cpp_quote(" _COM_Outptr_ void **ppv);")
cpp_quote("")
cpp_quote("HRESULT _cdecl CreateControlInputEx(")
cpp_quote(" _In_ IUnknown *pCoreWindow,")
cpp_quote(" _In_ REFIID riid,")
cpp_quote(" _COM_Outptr_ void **ppv);")
cpp_quote("")
cpp_quote("#endif // NTDDI_VERSION >= NTDDI_WINBLUE")
cpp_quote("#if (NTDDI_VERSION >= NTDDI_THRESHOLD)")
// Interfaces
[object, uuid(0576AB31-A310-4C40-BA31-FD37E0298DFA)]
interface ICoreWindowComponentInterop : IUnknown
{
// The input parameter should be IDComposition2Visual. Use IUnknown for now.
// QI for this interface from ICoreInputSourceBase.
HRESULT ConfigureComponentInput([in] UINT32 hostViewInstanceId, [in] HWND hwndHost, [in] IUnknown* inputSourceVisual);
HRESULT GetViewInstanceId([out] UINT32* componentViewInstanceId);
}
cpp_quote("#endif // NTDDI_VERSION >= NTDDI_THRESHOLD")
cpp_quote("#if (NTDDI_VERSION >= NTDDI_THRESHOLD)")
[object, uuid(7a5b6fd1-cd73-4b6c-9cf4-2e869eaf470a)]
interface ICoreWindowAdapterInterop : IInspectable
{
[propget] HRESULT ApplicationViewClientAdapter([out, retval] IUnknown** value);
[propget] HRESULT CoreApplicationViewClientAdapter([out, retval] IUnknown** value);
[propget] HRESULT HoloViewClientAdapter([out, retval] IUnknown** value);
[propget] HRESULT SystemNavigationClientAdapter([out, retval] IUnknown** value);
[propget] HRESULT TitleBarClientAdapter([out, retval] IUnknown** value);
HRESULT SetWindowClientAdapter([in] IUnknown* value);
}
cpp_quote("#endif // NTDDI_VERSION >= NTDDI_THRESHOLD")
cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */")
#pragma endregion