diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter.cs index c9776b48..d73bac58 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter.cs @@ -100,38 +100,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(9)] HRESULT CheckInterfaceSupport([NativeTypeName("const GUID &")] Guid* InterfaceName, LARGE_INTEGER* pUMDVersion); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (UINT, IDXGIOutput **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumOutputs; - - [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - - [NativeTypeName("HRESULT (const GUID &, LARGE_INTEGER *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CheckInterfaceSupport; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs index 56a7c0b2..43324d86 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIAdapter1.cs @@ -101,41 +101,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(10)] HRESULT GetDesc1(DXGI_ADAPTER_DESC1* pDesc); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (UINT, IDXGIOutput **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumOutputs; - - [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - - [NativeTypeName("HRESULT (const GUID &, LARGE_INTEGER *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CheckInterfaceSupport; - - [NativeTypeName("HRESULT (DXGI_ADAPTER_DESC1 *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc1; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIDeviceSubObject.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIDeviceSubObject.cs index 6559b7a8..3857df12 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIDeviceSubObject.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIDeviceSubObject.cs @@ -80,32 +80,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(7)] HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppDevice); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIFactory.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIFactory.cs index 20398d23..0d683a17 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIFactory.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIFactory.cs @@ -120,44 +120,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(11)] HRESULT CreateSoftwareAdapter(HMODULE Module, IDXGIAdapter** ppAdapter); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (UINT, IDXGIAdapter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapters; - - [NativeTypeName("HRESULT (HWND, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] MakeWindowAssociation; - - [NativeTypeName("HRESULT (HWND *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWindowAssociation; - - [NativeTypeName("HRESULT (IUnknown *, DXGI_SWAP_CHAIN_DESC *, IDXGISwapChain **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChain; - - [NativeTypeName("HRESULT (HMODULE, IDXGIAdapter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSoftwareAdapter; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIFactory1.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIFactory1.cs index e72ddbef..5f435cf6 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIFactory1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIFactory1.cs @@ -125,50 +125,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(13)] BOOL IsCurrent(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (UINT, IDXGIAdapter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapters; - - [NativeTypeName("HRESULT (HWND, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] MakeWindowAssociation; - - [NativeTypeName("HRESULT (HWND *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWindowAssociation; - - [NativeTypeName("HRESULT (IUnknown *, DXGI_SWAP_CHAIN_DESC *, IDXGISwapChain **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChain; - - [NativeTypeName("HRESULT (HMODULE, IDXGIAdapter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSoftwareAdapter; - - [NativeTypeName("HRESULT (UINT, IDXGIAdapter1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapters1; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsCurrent; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIObject.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIObject.cs index 8d459c92..84b7fe5c 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIObject.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIObject.cs @@ -82,29 +82,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(6)] HRESULT GetParent([NativeTypeName("const IID &")] Guid* riid, void** ppParent); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIOutput.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIOutput.cs index be59812a..e6606460 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIOutput.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGIOutput.cs @@ -190,65 +190,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(18)] HRESULT GetFrameStatistics(DXGI_FRAME_STATISTICS* pStats); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (DXGI_OUTPUT_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - - [NativeTypeName("HRESULT (DXGI_FORMAT, UINT, UINT *, DXGI_MODE_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDisplayModeList; - - [NativeTypeName("HRESULT (const DXGI_MODE_DESC *, DXGI_MODE_DESC *, IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FindClosestMatchingMode; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] WaitForVBlank; - - [NativeTypeName("HRESULT (IUnknown *, BOOL) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] TakeOwnership; - - [NativeTypeName("void () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ReleaseOwnership; - - [NativeTypeName("HRESULT (DXGI_GAMMA_CONTROL_CAPABILITIES *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGammaControlCapabilities; - - [NativeTypeName("HRESULT (const DXGI_GAMMA_CONTROL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetGammaControl; - - [NativeTypeName("HRESULT (DXGI_GAMMA_CONTROL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGammaControl; - - [NativeTypeName("HRESULT (IDXGISurface *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetDisplaySurface; - - [NativeTypeName("HRESULT (IDXGISurface *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDisplaySurfaceData; - - [NativeTypeName("HRESULT (DXGI_FRAME_STATISTICS *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFrameStatistics; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGISurface.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGISurface.cs index f31bda8e..975cfd27 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGISurface.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGISurface.cs @@ -107,41 +107,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(10)] HRESULT Unmap(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("HRESULT (DXGI_SURFACE_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - - [NativeTypeName("HRESULT (DXGI_MAPPED_RECT *, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Map; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Unmap; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGISwapChain.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGISwapChain.cs index 3a428798..7749448e 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGISwapChain.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi/IDXGISwapChain.cs @@ -177,62 +177,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(17)] HRESULT GetLastPresentCount(uint* pLastPresentCount); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("HRESULT (UINT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Present; - - [NativeTypeName("HRESULT (UINT, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBuffer; - - [NativeTypeName("HRESULT (BOOL, IDXGIOutput *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetFullscreenState; - - [NativeTypeName("HRESULT (BOOL *, IDXGIOutput **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFullscreenState; - - [NativeTypeName("HRESULT (DXGI_SWAP_CHAIN_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - - [NativeTypeName("HRESULT (UINT, UINT, UINT, DXGI_FORMAT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ResizeBuffers; - - [NativeTypeName("HRESULT (const DXGI_MODE_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ResizeTarget; - - [NativeTypeName("HRESULT (IDXGIOutput **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetContainingOutput; - - [NativeTypeName("HRESULT (DXGI_FRAME_STATISTICS *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFrameStatistics; - - [NativeTypeName("HRESULT (UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLastPresentCount; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGIFactory2.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGIFactory2.cs index 7cc967af..39dcc13e 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGIFactory2.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGIFactory2.cs @@ -229,83 +229,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(24)] HRESULT CreateSwapChainForComposition(IUnknown* pDevice, [NativeTypeName("const DXGI_SWAP_CHAIN_DESC1 *")] DXGI_SWAP_CHAIN_DESC1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (UINT, IDXGIAdapter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapters; - - [NativeTypeName("HRESULT (HWND, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] MakeWindowAssociation; - - [NativeTypeName("HRESULT (HWND *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWindowAssociation; - - [NativeTypeName("HRESULT (IUnknown *, DXGI_SWAP_CHAIN_DESC *, IDXGISwapChain **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChain; - - [NativeTypeName("HRESULT (HMODULE, IDXGIAdapter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSoftwareAdapter; - - [NativeTypeName("HRESULT (UINT, IDXGIAdapter1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapters1; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsCurrent; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsWindowedStereoEnabled; - - [NativeTypeName("HRESULT (IUnknown *, HWND, const DXGI_SWAP_CHAIN_DESC1 *, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForHwnd; - - [NativeTypeName("HRESULT (IUnknown *, IUnknown *, const DXGI_SWAP_CHAIN_DESC1 *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForCoreWindow; - - [NativeTypeName("HRESULT (HANDLE, LUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSharedResourceAdapterLuid; - - [NativeTypeName("HRESULT (HWND, UINT, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterStereoStatusWindow; - - [NativeTypeName("HRESULT (HANDLE, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterStereoStatusEvent; - - [NativeTypeName("void (DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] UnregisterStereoStatus; - - [NativeTypeName("HRESULT (HWND, UINT, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterOcclusionStatusWindow; - - [NativeTypeName("HRESULT (HANDLE, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterOcclusionStatusEvent; - - [NativeTypeName("void (DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] UnregisterOcclusionStatus; - - [NativeTypeName("HRESULT (IUnknown *, const DXGI_SWAP_CHAIN_DESC1 *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForComposition; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs index 4335fa94..0320dab8 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs @@ -257,95 +257,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(28)] HRESULT GetRotation(DXGI_MODE_ROTATION* pRotation); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("HRESULT (UINT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Present; - - [NativeTypeName("HRESULT (UINT, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBuffer; - - [NativeTypeName("HRESULT (BOOL, IDXGIOutput *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetFullscreenState; - - [NativeTypeName("HRESULT (BOOL *, IDXGIOutput **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFullscreenState; - - [NativeTypeName("HRESULT (DXGI_SWAP_CHAIN_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - - [NativeTypeName("HRESULT (UINT, UINT, UINT, DXGI_FORMAT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ResizeBuffers; - - [NativeTypeName("HRESULT (const DXGI_MODE_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ResizeTarget; - - [NativeTypeName("HRESULT (IDXGIOutput **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetContainingOutput; - - [NativeTypeName("HRESULT (DXGI_FRAME_STATISTICS *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFrameStatistics; - - [NativeTypeName("HRESULT (UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLastPresentCount; - - [NativeTypeName("HRESULT (DXGI_SWAP_CHAIN_DESC1 *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc1; - - [NativeTypeName("HRESULT (DXGI_SWAP_CHAIN_FULLSCREEN_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFullscreenDesc; - - [NativeTypeName("HRESULT (HWND *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetHwnd; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCoreWindow; - - [NativeTypeName("HRESULT (UINT, UINT, const DXGI_PRESENT_PARAMETERS *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Present1; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsTemporaryMonoSupported; - - [NativeTypeName("HRESULT (IDXGIOutput **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRestrictToOutput; - - [NativeTypeName("HRESULT (const DXGI_RGBA *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetBackgroundColor; - - [NativeTypeName("HRESULT (DXGI_RGBA *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBackgroundColor; - - [NativeTypeName("HRESULT (DXGI_MODE_ROTATION) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetRotation; - - [NativeTypeName("HRESULT (DXGI_MODE_ROTATION *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRotation; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/IDXGIFactory3.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/IDXGIFactory3.cs index 015d887a..6ab81ab1 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/IDXGIFactory3.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/IDXGIFactory3.cs @@ -208,86 +208,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(25)] uint GetCreationFlags(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (UINT, IDXGIAdapter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapters; - - [NativeTypeName("HRESULT (HWND, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] MakeWindowAssociation; - - [NativeTypeName("HRESULT (HWND *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWindowAssociation; - - [NativeTypeName("HRESULT (IUnknown *, DXGI_SWAP_CHAIN_DESC *, IDXGISwapChain **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChain; - - [NativeTypeName("HRESULT (HMODULE, IDXGIAdapter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSoftwareAdapter; - - [NativeTypeName("HRESULT (UINT, IDXGIAdapter1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapters1; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsCurrent; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsWindowedStereoEnabled; - - [NativeTypeName("HRESULT (IUnknown *, HWND, const DXGI_SWAP_CHAIN_DESC1 *, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForHwnd; - - [NativeTypeName("HRESULT (IUnknown *, IUnknown *, const DXGI_SWAP_CHAIN_DESC1 *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForCoreWindow; - - [NativeTypeName("HRESULT (HANDLE, LUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSharedResourceAdapterLuid; - - [NativeTypeName("HRESULT (HWND, UINT, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterStereoStatusWindow; - - [NativeTypeName("HRESULT (HANDLE, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterStereoStatusEvent; - - [NativeTypeName("void (DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] UnregisterStereoStatus; - - [NativeTypeName("HRESULT (HWND, UINT, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterOcclusionStatusWindow; - - [NativeTypeName("HRESULT (HANDLE, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterOcclusionStatusEvent; - - [NativeTypeName("void (DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] UnregisterOcclusionStatus; - - [NativeTypeName("HRESULT (IUnknown *, const DXGI_SWAP_CHAIN_DESC1 *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForComposition; - - [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCreationFlags; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/IDXGISwapChain2.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/IDXGISwapChain2.cs index f453e312..af7bd180 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/IDXGISwapChain2.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_3/IDXGISwapChain2.cs @@ -296,116 +296,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(35)] HRESULT GetMatrixTransform(DXGI_MATRIX_3X2_F* pMatrix); } - - public partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("HRESULT (UINT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Present; - - [NativeTypeName("HRESULT (UINT, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBuffer; - - [NativeTypeName("HRESULT (BOOL, IDXGIOutput *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetFullscreenState; - - [NativeTypeName("HRESULT (BOOL *, IDXGIOutput **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFullscreenState; - - [NativeTypeName("HRESULT (DXGI_SWAP_CHAIN_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - - [NativeTypeName("HRESULT (UINT, UINT, UINT, DXGI_FORMAT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ResizeBuffers; - - [NativeTypeName("HRESULT (const DXGI_MODE_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ResizeTarget; - - [NativeTypeName("HRESULT (IDXGIOutput **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetContainingOutput; - - [NativeTypeName("HRESULT (DXGI_FRAME_STATISTICS *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFrameStatistics; - - [NativeTypeName("HRESULT (UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLastPresentCount; - - [NativeTypeName("HRESULT (DXGI_SWAP_CHAIN_DESC1 *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc1; - - [NativeTypeName("HRESULT (DXGI_SWAP_CHAIN_FULLSCREEN_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFullscreenDesc; - - [NativeTypeName("HRESULT (HWND *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetHwnd; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCoreWindow; - - [NativeTypeName("HRESULT (UINT, UINT, const DXGI_PRESENT_PARAMETERS *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Present1; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsTemporaryMonoSupported; - - [NativeTypeName("HRESULT (IDXGIOutput **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRestrictToOutput; - - [NativeTypeName("HRESULT (const DXGI_RGBA *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetBackgroundColor; - - [NativeTypeName("HRESULT (DXGI_RGBA *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBackgroundColor; - - [NativeTypeName("HRESULT (DXGI_MODE_ROTATION) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetRotation; - - [NativeTypeName("HRESULT (DXGI_MODE_ROTATION *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRotation; - - [NativeTypeName("HRESULT (UINT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetSourceSize; - - [NativeTypeName("HRESULT (UINT *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSourceSize; - - [NativeTypeName("HRESULT (UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetMaximumFrameLatency; - - [NativeTypeName("HRESULT (UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMaximumFrameLatency; - - [NativeTypeName("HANDLE () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFrameLatencyWaitableObject; - - [NativeTypeName("HRESULT (const DXGI_MATRIX_3X2_F *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetMatrixTransform; - - [NativeTypeName("HRESULT (DXGI_MATRIX_3X2_F *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMatrixTransform; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGIFactory4.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGIFactory4.cs index 71189315..d8fb9242 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGIFactory4.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGIFactory4.cs @@ -223,92 +223,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(27)] HRESULT EnumWarpAdapter([NativeTypeName("const IID &")] Guid* riid, void** ppvAdapter); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (UINT, IDXGIAdapter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapters; - - [NativeTypeName("HRESULT (HWND, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] MakeWindowAssociation; - - [NativeTypeName("HRESULT (HWND *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWindowAssociation; - - [NativeTypeName("HRESULT (IUnknown *, DXGI_SWAP_CHAIN_DESC *, IDXGISwapChain **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChain; - - [NativeTypeName("HRESULT (HMODULE, IDXGIAdapter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSoftwareAdapter; - - [NativeTypeName("HRESULT (UINT, IDXGIAdapter1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapters1; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsCurrent; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsWindowedStereoEnabled; - - [NativeTypeName("HRESULT (IUnknown *, HWND, const DXGI_SWAP_CHAIN_DESC1 *, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForHwnd; - - [NativeTypeName("HRESULT (IUnknown *, IUnknown *, const DXGI_SWAP_CHAIN_DESC1 *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForCoreWindow; - - [NativeTypeName("HRESULT (HANDLE, LUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSharedResourceAdapterLuid; - - [NativeTypeName("HRESULT (HWND, UINT, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterStereoStatusWindow; - - [NativeTypeName("HRESULT (HANDLE, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterStereoStatusEvent; - - [NativeTypeName("void (DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] UnregisterStereoStatus; - - [NativeTypeName("HRESULT (HWND, UINT, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterOcclusionStatusWindow; - - [NativeTypeName("HRESULT (HANDLE, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterOcclusionStatusEvent; - - [NativeTypeName("void (DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] UnregisterOcclusionStatus; - - [NativeTypeName("HRESULT (IUnknown *, const DXGI_SWAP_CHAIN_DESC1 *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForComposition; - - [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCreationFlags; - - [NativeTypeName("HRESULT (LUID, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapterByLuid; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumWarpAdapter; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs index 3d822d11..c2e8acac 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs @@ -315,128 +315,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(39)] HRESULT ResizeBuffers1(uint BufferCount, uint Width, uint Height, DXGI_FORMAT Format, uint SwapChainFlags, [NativeTypeName("const UINT *")] uint* pCreationNodeMask, [NativeTypeName("IUnknown *const *")] IUnknown** ppPresentQueue); } - - public partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("HRESULT (UINT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Present; - - [NativeTypeName("HRESULT (UINT, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBuffer; - - [NativeTypeName("HRESULT (BOOL, IDXGIOutput *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetFullscreenState; - - [NativeTypeName("HRESULT (BOOL *, IDXGIOutput **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFullscreenState; - - [NativeTypeName("HRESULT (DXGI_SWAP_CHAIN_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - - [NativeTypeName("HRESULT (UINT, UINT, UINT, DXGI_FORMAT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ResizeBuffers; - - [NativeTypeName("HRESULT (const DXGI_MODE_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ResizeTarget; - - [NativeTypeName("HRESULT (IDXGIOutput **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetContainingOutput; - - [NativeTypeName("HRESULT (DXGI_FRAME_STATISTICS *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFrameStatistics; - - [NativeTypeName("HRESULT (UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLastPresentCount; - - [NativeTypeName("HRESULT (DXGI_SWAP_CHAIN_DESC1 *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc1; - - [NativeTypeName("HRESULT (DXGI_SWAP_CHAIN_FULLSCREEN_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFullscreenDesc; - - [NativeTypeName("HRESULT (HWND *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetHwnd; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCoreWindow; - - [NativeTypeName("HRESULT (UINT, UINT, const DXGI_PRESENT_PARAMETERS *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Present1; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsTemporaryMonoSupported; - - [NativeTypeName("HRESULT (IDXGIOutput **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRestrictToOutput; - - [NativeTypeName("HRESULT (const DXGI_RGBA *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetBackgroundColor; - - [NativeTypeName("HRESULT (DXGI_RGBA *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBackgroundColor; - - [NativeTypeName("HRESULT (DXGI_MODE_ROTATION) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetRotation; - - [NativeTypeName("HRESULT (DXGI_MODE_ROTATION *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRotation; - - [NativeTypeName("HRESULT (UINT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetSourceSize; - - [NativeTypeName("HRESULT (UINT *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSourceSize; - - [NativeTypeName("HRESULT (UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetMaximumFrameLatency; - - [NativeTypeName("HRESULT (UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMaximumFrameLatency; - - [NativeTypeName("HANDLE () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFrameLatencyWaitableObject; - - [NativeTypeName("HRESULT (const DXGI_MATRIX_3X2_F *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetMatrixTransform; - - [NativeTypeName("HRESULT (DXGI_MATRIX_3X2_F *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMatrixTransform; - - [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCurrentBackBufferIndex; - - [NativeTypeName("HRESULT (DXGI_COLOR_SPACE_TYPE, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CheckColorSpaceSupport; - - [NativeTypeName("HRESULT (DXGI_COLOR_SPACE_TYPE) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetColorSpace1; - - [NativeTypeName("HRESULT (UINT, UINT, UINT, DXGI_FORMAT, UINT, const UINT *, IUnknown *const *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ResizeBuffers1; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_5/IDXGIFactory5.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_5/IDXGIFactory5.cs index 072ddbde..46dc09d7 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_5/IDXGIFactory5.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_5/IDXGIFactory5.cs @@ -227,95 +227,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(28)] HRESULT CheckFeatureSupport(DXGI_FEATURE Feature, void* pFeatureSupportData, uint FeatureSupportDataSize); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (UINT, IDXGIAdapter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapters; - - [NativeTypeName("HRESULT (HWND, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] MakeWindowAssociation; - - [NativeTypeName("HRESULT (HWND *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWindowAssociation; - - [NativeTypeName("HRESULT (IUnknown *, DXGI_SWAP_CHAIN_DESC *, IDXGISwapChain **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChain; - - [NativeTypeName("HRESULT (HMODULE, IDXGIAdapter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSoftwareAdapter; - - [NativeTypeName("HRESULT (UINT, IDXGIAdapter1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapters1; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsCurrent; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsWindowedStereoEnabled; - - [NativeTypeName("HRESULT (IUnknown *, HWND, const DXGI_SWAP_CHAIN_DESC1 *, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForHwnd; - - [NativeTypeName("HRESULT (IUnknown *, IUnknown *, const DXGI_SWAP_CHAIN_DESC1 *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForCoreWindow; - - [NativeTypeName("HRESULT (HANDLE, LUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSharedResourceAdapterLuid; - - [NativeTypeName("HRESULT (HWND, UINT, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterStereoStatusWindow; - - [NativeTypeName("HRESULT (HANDLE, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterStereoStatusEvent; - - [NativeTypeName("void (DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] UnregisterStereoStatus; - - [NativeTypeName("HRESULT (HWND, UINT, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterOcclusionStatusWindow; - - [NativeTypeName("HRESULT (HANDLE, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterOcclusionStatusEvent; - - [NativeTypeName("void (DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] UnregisterOcclusionStatus; - - [NativeTypeName("HRESULT (IUnknown *, const DXGI_SWAP_CHAIN_DESC1 *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForComposition; - - [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCreationFlags; - - [NativeTypeName("HRESULT (LUID, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapterByLuid; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumWarpAdapter; - - [NativeTypeName("HRESULT (DXGI_FEATURE, void *, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CheckFeatureSupport; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_6/IDXGIFactory6.cs b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_6/IDXGIFactory6.cs index 5a8b9b66..b1307778 100644 --- a/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_6/IDXGIFactory6.cs +++ b/src/TerraFX.Interop.Windows/DirectX/shared/dxgi1_6/IDXGIFactory6.cs @@ -236,98 +236,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(29)] HRESULT EnumAdapterByGpuPreference(uint Adapter, DXGI_GPU_PREFERENCE GpuPreference, [NativeTypeName("const IID &")] Guid* riid, void** ppvAdapter); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParent; - - [NativeTypeName("HRESULT (UINT, IDXGIAdapter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapters; - - [NativeTypeName("HRESULT (HWND, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] MakeWindowAssociation; - - [NativeTypeName("HRESULT (HWND *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWindowAssociation; - - [NativeTypeName("HRESULT (IUnknown *, DXGI_SWAP_CHAIN_DESC *, IDXGISwapChain **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChain; - - [NativeTypeName("HRESULT (HMODULE, IDXGIAdapter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSoftwareAdapter; - - [NativeTypeName("HRESULT (UINT, IDXGIAdapter1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapters1; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsCurrent; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsWindowedStereoEnabled; - - [NativeTypeName("HRESULT (IUnknown *, HWND, const DXGI_SWAP_CHAIN_DESC1 *, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForHwnd; - - [NativeTypeName("HRESULT (IUnknown *, IUnknown *, const DXGI_SWAP_CHAIN_DESC1 *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForCoreWindow; - - [NativeTypeName("HRESULT (HANDLE, LUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSharedResourceAdapterLuid; - - [NativeTypeName("HRESULT (HWND, UINT, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterStereoStatusWindow; - - [NativeTypeName("HRESULT (HANDLE, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterStereoStatusEvent; - - [NativeTypeName("void (DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] UnregisterStereoStatus; - - [NativeTypeName("HRESULT (HWND, UINT, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterOcclusionStatusWindow; - - [NativeTypeName("HRESULT (HANDLE, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RegisterOcclusionStatusEvent; - - [NativeTypeName("void (DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] UnregisterOcclusionStatus; - - [NativeTypeName("HRESULT (IUnknown *, const DXGI_SWAP_CHAIN_DESC1 *, IDXGIOutput *, IDXGISwapChain1 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSwapChainForComposition; - - [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCreationFlags; - - [NativeTypeName("HRESULT (LUID, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapterByLuid; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumWarpAdapter; - - [NativeTypeName("HRESULT (DXGI_FEATURE, void *, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CheckFeatureSupport; - - [NativeTypeName("HRESULT (UINT, DXGI_GPU_PREFERENCE, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumAdapterByGpuPreference; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Bitmap.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Bitmap.cs index 3acb488c..343d2262 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Bitmap.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Bitmap.cs @@ -126,41 +126,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(10)] HRESULT CopyFromMemory([NativeTypeName("const D2D1_RECT_U *")] D2D_RECT_U* dstRect, [NativeTypeName("const void *")] void* srcData, [NativeTypeName("UINT32")] uint pitch); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("D2D1_SIZE_U () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelSize; - - [NativeTypeName("D2D1_PIXEL_FORMAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDpi; - - [NativeTypeName("HRESULT (const D2D1_POINT_2U *, ID2D1Bitmap *, const D2D1_RECT_U *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyFromBitmap; - - [NativeTypeName("HRESULT (const D2D1_POINT_2U *, ID2D1RenderTarget *, const D2D1_RECT_U *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyFromRenderTarget; - - [NativeTypeName("HRESULT (const D2D1_RECT_U *, const void *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyFromMemory; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1BitmapBrush.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1BitmapBrush.cs index 027f9293..35ab97e9 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1BitmapBrush.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1BitmapBrush.cs @@ -157,56 +157,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(15)] void GetBitmap(ID2D1Bitmap** bitmap); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("void (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetOpacity; - - [NativeTypeName("void (const D2D1_MATRIX_3X2_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTransform; - - [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetOpacity; - - [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTransform; - - [NativeTypeName("void (D2D1_EXTEND_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetExtendModeX; - - [NativeTypeName("void (D2D1_EXTEND_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetExtendModeY; - - [NativeTypeName("void (D2D1_BITMAP_INTERPOLATION_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetInterpolationMode; - - [NativeTypeName("void (ID2D1Bitmap *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetBitmap; - - [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetExtendModeX; - - [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetExtendModeY; - - [NativeTypeName("D2D1_BITMAP_INTERPOLATION_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetInterpolationMode; - - [NativeTypeName("void (ID2D1Bitmap **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBitmap; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1BitmapRenderTarget.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1BitmapRenderTarget.cs index 23ab9641..5fc89a7c 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1BitmapRenderTarget.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1BitmapRenderTarget.cs @@ -517,182 +517,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(57)] HRESULT GetBitmap(ID2D1Bitmap** bitmap); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (D2D1_SIZE_U, const void *, UINT32, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmap1; - - [NativeTypeName("HRESULT (IWICBitmapSource *, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromWicBitmap1; - - [NativeTypeName("HRESULT (const IID &, void *, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSharedBitmap; - - [NativeTypeName("HRESULT (ID2D1Bitmap *, const D2D1_BITMAP_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1BitmapBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapBrush2; - - [NativeTypeName("HRESULT (const D2D1_COLOR_F *, const D2D1_BRUSH_PROPERTIES *, ID2D1SolidColorBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSolidColorBrush1; - - [NativeTypeName("HRESULT (const D2D1_GRADIENT_STOP *, UINT32, D2D1_GAMMA, D2D1_EXTEND_MODE, ID2D1GradientStopCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateGradientStopCollection1; - - [NativeTypeName("HRESULT (const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1GradientStopCollection *, ID2D1LinearGradientBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateLinearGradientBrush1; - - [NativeTypeName("HRESULT (const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1GradientStopCollection *, ID2D1RadialGradientBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateRadialGradientBrush1; - - [NativeTypeName("HRESULT (const D2D1_SIZE_F *, const D2D1_SIZE_U *, const D2D1_PIXEL_FORMAT *, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS, ID2D1BitmapRenderTarget **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateCompatibleRenderTarget5; - - [NativeTypeName("HRESULT (const D2D1_SIZE_F *, ID2D1Layer **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateLayer2; - - [NativeTypeName("HRESULT (ID2D1Mesh **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateMesh; - - [NativeTypeName("void (D2D1_POINT_2F, D2D1_POINT_2F, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawLine; - - [NativeTypeName("void (const D2D1_RECT_F *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawRectangle; - - [NativeTypeName("void (const D2D1_RECT_F *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillRectangle; - - [NativeTypeName("void (const D2D1_ROUNDED_RECT *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawRoundedRectangle; - - [NativeTypeName("void (const D2D1_ROUNDED_RECT *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillRoundedRectangle; - - [NativeTypeName("void (const D2D1_ELLIPSE *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawEllipse; - - [NativeTypeName("void (const D2D1_ELLIPSE *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillEllipse; - - [NativeTypeName("void (ID2D1Geometry *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGeometry; - - [NativeTypeName("void (ID2D1Geometry *, ID2D1Brush *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillGeometry; - - [NativeTypeName("void (ID2D1Mesh *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillMesh; - - [NativeTypeName("void (ID2D1Bitmap *, ID2D1Brush *, D2D1_OPACITY_MASK_CONTENT, const D2D1_RECT_F *, const D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillOpacityMask; - - [NativeTypeName("void (ID2D1Bitmap *, const D2D1_RECT_F *, FLOAT, D2D1_BITMAP_INTERPOLATION_MODE, const D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawBitmap; - - [NativeTypeName("void (const WCHAR *, UINT32, IDWriteTextFormat *, const D2D1_RECT_F *, ID2D1Brush *, D2D1_DRAW_TEXT_OPTIONS, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawText; - - [NativeTypeName("void (D2D1_POINT_2F, IDWriteTextLayout *, ID2D1Brush *, D2D1_DRAW_TEXT_OPTIONS) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawTextLayout; - - [NativeTypeName("void (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, ID2D1Brush *, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGlyphRun; - - [NativeTypeName("void (const D2D1_MATRIX_3X2_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTransform; - - [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTransform; - - [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetAntialiasMode; - - [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetAntialiasMode; - - [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextAntialiasMode; - - [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTextAntialiasMode; - - [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextRenderingParams; - - [NativeTypeName("void (IDWriteRenderingParams **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTextRenderingParams; - - [NativeTypeName("void (D2D1_TAG, D2D1_TAG) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTags; - - [NativeTypeName("void (D2D1_TAG *, D2D1_TAG *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTags; - - [NativeTypeName("void (const D2D1_LAYER_PARAMETERS *, ID2D1Layer *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushLayer; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PopLayer; - - [NativeTypeName("HRESULT (D2D1_TAG *, D2D1_TAG *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Flush; - - [NativeTypeName("void (ID2D1DrawingStateBlock *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SaveDrawingState; - - [NativeTypeName("void (ID2D1DrawingStateBlock *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RestoreDrawingState; - - [NativeTypeName("void (const D2D1_RECT_F *, D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushAxisAlignedClip; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PopAxisAlignedClip; - - [NativeTypeName("void (const D2D1_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Clear; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] BeginDraw; - - [NativeTypeName("HRESULT (D2D1_TAG *, D2D1_TAG *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EndDraw; - - [NativeTypeName("D2D1_PIXEL_FORMAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("void (FLOAT, FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetDpi; - - [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDpi; - - [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("D2D1_SIZE_U () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelSize; - - [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMaximumBitmapSize; - - [NativeTypeName("BOOL (const D2D1_RENDER_TARGET_PROPERTIES *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsSupported; - - [NativeTypeName("HRESULT (ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBitmap; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Brush.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Brush.cs index 4b768469..0c160031 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Brush.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Brush.cs @@ -89,32 +89,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(7)] void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("void (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetOpacity; - - [NativeTypeName("void (const D2D1_MATRIX_3X2_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTransform; - - [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetOpacity; - - [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTransform; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1DCRenderTarget.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1DCRenderTarget.cs index 358372ea..c476c3a5 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1DCRenderTarget.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1DCRenderTarget.cs @@ -517,182 +517,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(57)] HRESULT BindDC([NativeTypeName("const HDC")] HDC hDC, [NativeTypeName("const RECT *")] RECT* pSubRect); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (D2D1_SIZE_U, const void *, UINT32, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmap1; - - [NativeTypeName("HRESULT (IWICBitmapSource *, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromWicBitmap1; - - [NativeTypeName("HRESULT (const IID &, void *, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSharedBitmap; - - [NativeTypeName("HRESULT (ID2D1Bitmap *, const D2D1_BITMAP_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1BitmapBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapBrush2; - - [NativeTypeName("HRESULT (const D2D1_COLOR_F *, const D2D1_BRUSH_PROPERTIES *, ID2D1SolidColorBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSolidColorBrush1; - - [NativeTypeName("HRESULT (const D2D1_GRADIENT_STOP *, UINT32, D2D1_GAMMA, D2D1_EXTEND_MODE, ID2D1GradientStopCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateGradientStopCollection1; - - [NativeTypeName("HRESULT (const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1GradientStopCollection *, ID2D1LinearGradientBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateLinearGradientBrush1; - - [NativeTypeName("HRESULT (const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1GradientStopCollection *, ID2D1RadialGradientBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateRadialGradientBrush1; - - [NativeTypeName("HRESULT (const D2D1_SIZE_F *, const D2D1_SIZE_U *, const D2D1_PIXEL_FORMAT *, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS, ID2D1BitmapRenderTarget **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateCompatibleRenderTarget5; - - [NativeTypeName("HRESULT (const D2D1_SIZE_F *, ID2D1Layer **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateLayer2; - - [NativeTypeName("HRESULT (ID2D1Mesh **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateMesh; - - [NativeTypeName("void (D2D1_POINT_2F, D2D1_POINT_2F, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawLine; - - [NativeTypeName("void (const D2D1_RECT_F *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawRectangle; - - [NativeTypeName("void (const D2D1_RECT_F *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillRectangle; - - [NativeTypeName("void (const D2D1_ROUNDED_RECT *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawRoundedRectangle; - - [NativeTypeName("void (const D2D1_ROUNDED_RECT *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillRoundedRectangle; - - [NativeTypeName("void (const D2D1_ELLIPSE *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawEllipse; - - [NativeTypeName("void (const D2D1_ELLIPSE *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillEllipse; - - [NativeTypeName("void (ID2D1Geometry *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGeometry; - - [NativeTypeName("void (ID2D1Geometry *, ID2D1Brush *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillGeometry; - - [NativeTypeName("void (ID2D1Mesh *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillMesh; - - [NativeTypeName("void (ID2D1Bitmap *, ID2D1Brush *, D2D1_OPACITY_MASK_CONTENT, const D2D1_RECT_F *, const D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillOpacityMask; - - [NativeTypeName("void (ID2D1Bitmap *, const D2D1_RECT_F *, FLOAT, D2D1_BITMAP_INTERPOLATION_MODE, const D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawBitmap; - - [NativeTypeName("void (const WCHAR *, UINT32, IDWriteTextFormat *, const D2D1_RECT_F *, ID2D1Brush *, D2D1_DRAW_TEXT_OPTIONS, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawText; - - [NativeTypeName("void (D2D1_POINT_2F, IDWriteTextLayout *, ID2D1Brush *, D2D1_DRAW_TEXT_OPTIONS) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawTextLayout; - - [NativeTypeName("void (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, ID2D1Brush *, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGlyphRun; - - [NativeTypeName("void (const D2D1_MATRIX_3X2_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTransform; - - [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTransform; - - [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetAntialiasMode; - - [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetAntialiasMode; - - [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextAntialiasMode; - - [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTextAntialiasMode; - - [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextRenderingParams; - - [NativeTypeName("void (IDWriteRenderingParams **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTextRenderingParams; - - [NativeTypeName("void (D2D1_TAG, D2D1_TAG) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTags; - - [NativeTypeName("void (D2D1_TAG *, D2D1_TAG *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTags; - - [NativeTypeName("void (const D2D1_LAYER_PARAMETERS *, ID2D1Layer *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushLayer; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PopLayer; - - [NativeTypeName("HRESULT (D2D1_TAG *, D2D1_TAG *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Flush; - - [NativeTypeName("void (ID2D1DrawingStateBlock *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SaveDrawingState; - - [NativeTypeName("void (ID2D1DrawingStateBlock *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RestoreDrawingState; - - [NativeTypeName("void (const D2D1_RECT_F *, D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushAxisAlignedClip; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PopAxisAlignedClip; - - [NativeTypeName("void (const D2D1_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Clear; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] BeginDraw; - - [NativeTypeName("HRESULT (D2D1_TAG *, D2D1_TAG *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EndDraw; - - [NativeTypeName("D2D1_PIXEL_FORMAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("void (FLOAT, FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetDpi; - - [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDpi; - - [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("D2D1_SIZE_U () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelSize; - - [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMaximumBitmapSize; - - [NativeTypeName("BOOL (const D2D1_RENDER_TARGET_PROPERTIES *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsSupported; - - [NativeTypeName("HRESULT (const HDC, const RECT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] BindDC; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1DrawingStateBlock.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1DrawingStateBlock.cs index 97d10a4c..3653aaeb 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1DrawingStateBlock.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1DrawingStateBlock.cs @@ -89,32 +89,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(7)] void GetTextRenderingParams(IDWriteRenderingParams** textRenderingParams); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("void (D2D1_DRAWING_STATE_DESCRIPTION *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDescription; - - [NativeTypeName("void (const D2D1_DRAWING_STATE_DESCRIPTION *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetDescription; - - [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextRenderingParams; - - [NativeTypeName("void (IDWriteRenderingParams **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTextRenderingParams; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1EllipseGeometry.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1EllipseGeometry.cs index 63154746..afebd293 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1EllipseGeometry.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1EllipseGeometry.cs @@ -210,62 +210,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(17)] void GetEllipse(D2D1_ELLIPSE* ellipse); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBounds; - - [NativeTypeName("HRESULT (FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWidenedBounds1; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, BOOL *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] StrokeContainsPoint1; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, const D2D1_MATRIX_3X2_F *, FLOAT, BOOL *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillContainsPoint1; - - [NativeTypeName("HRESULT (ID2D1Geometry *, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_GEOMETRY_RELATION *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CompareWithGeometry1; - - [NativeTypeName("HRESULT (D2D1_GEOMETRY_SIMPLIFICATION_OPTION, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Simplify1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1TessellationSink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Tessellate1; - - [NativeTypeName("HRESULT (ID2D1Geometry *, D2D1_COMBINE_MODE, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CombineWithGeometry1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Outline1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputeArea1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputeLength1; - - [NativeTypeName("HRESULT (FLOAT, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_POINT_2F *, D2D1_POINT_2F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputePointAtLength1; - - [NativeTypeName("HRESULT (FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Widen1; - - [NativeTypeName("void (D2D1_ELLIPSE *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetEllipse; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Factory.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Factory.cs index 22d2f866..27da8a8c 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Factory.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Factory.cs @@ -192,59 +192,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(16)] HRESULT CreateDCRenderTarget([NativeTypeName("const D2D1_RENDER_TARGET_PROPERTIES *")] D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ReloadSystemMetrics; - - [NativeTypeName("void (FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesktopDpi; - - [NativeTypeName("HRESULT (const D2D1_RECT_F *, ID2D1RectangleGeometry **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateRectangleGeometry; - - [NativeTypeName("HRESULT (const D2D1_ROUNDED_RECT *, ID2D1RoundedRectangleGeometry **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateRoundedRectangleGeometry; - - [NativeTypeName("HRESULT (const D2D1_ELLIPSE *, ID2D1EllipseGeometry **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateEllipseGeometry; - - [NativeTypeName("HRESULT (D2D1_FILL_MODE, ID2D1Geometry **, UINT32, ID2D1GeometryGroup **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateGeometryGroup; - - [NativeTypeName("HRESULT (ID2D1Geometry *, const D2D1_MATRIX_3X2_F *, ID2D1TransformedGeometry **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateTransformedGeometry; - - [NativeTypeName("HRESULT (ID2D1PathGeometry **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreatePathGeometry; - - [NativeTypeName("HRESULT (const D2D1_STROKE_STYLE_PROPERTIES *, const FLOAT *, UINT32, ID2D1StrokeStyle **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateStrokeStyle; - - [NativeTypeName("HRESULT (const D2D1_DRAWING_STATE_DESCRIPTION *, IDWriteRenderingParams *, ID2D1DrawingStateBlock **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDrawingStateBlock2; - - [NativeTypeName("HRESULT (IWICBitmap *, const D2D1_RENDER_TARGET_PROPERTIES *, ID2D1RenderTarget **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateWicBitmapRenderTarget; - - [NativeTypeName("HRESULT (const D2D1_RENDER_TARGET_PROPERTIES *, const D2D1_HWND_RENDER_TARGET_PROPERTIES *, ID2D1HwndRenderTarget **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateHwndRenderTarget; - - [NativeTypeName("HRESULT (IDXGISurface *, const D2D1_RENDER_TARGET_PROPERTIES *, ID2D1RenderTarget **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDxgiSurfaceRenderTarget; - - [NativeTypeName("HRESULT (const D2D1_RENDER_TARGET_PROPERTIES *, ID2D1DCRenderTarget **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDCRenderTarget; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Geometry.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Geometry.cs index 5d0ce3cb..eed081d9 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Geometry.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Geometry.cs @@ -239,59 +239,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(16)] HRESULT Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, [NativeTypeName("const D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* worldTransform, float flatteningTolerance, ID2D1SimplifiedGeometrySink* geometrySink); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBounds; - - [NativeTypeName("HRESULT (FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWidenedBounds1; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, BOOL *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] StrokeContainsPoint1; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, const D2D1_MATRIX_3X2_F *, FLOAT, BOOL *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillContainsPoint1; - - [NativeTypeName("HRESULT (ID2D1Geometry *, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_GEOMETRY_RELATION *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CompareWithGeometry1; - - [NativeTypeName("HRESULT (D2D1_GEOMETRY_SIMPLIFICATION_OPTION, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Simplify1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1TessellationSink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Tessellate1; - - [NativeTypeName("HRESULT (ID2D1Geometry *, D2D1_COMBINE_MODE, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CombineWithGeometry1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Outline1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputeArea1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputeLength1; - - [NativeTypeName("HRESULT (FLOAT, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_POINT_2F *, D2D1_POINT_2F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputePointAtLength1; - - [NativeTypeName("HRESULT (FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Widen1; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1GeometryGroup.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1GeometryGroup.cs index ab936b77..b8df19cd 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1GeometryGroup.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1GeometryGroup.cs @@ -232,68 +232,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(19)] void GetSourceGeometries(ID2D1Geometry** geometries, [NativeTypeName("UINT32")] uint geometriesCount); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBounds; - - [NativeTypeName("HRESULT (FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWidenedBounds1; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, BOOL *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] StrokeContainsPoint1; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, const D2D1_MATRIX_3X2_F *, FLOAT, BOOL *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillContainsPoint1; - - [NativeTypeName("HRESULT (ID2D1Geometry *, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_GEOMETRY_RELATION *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CompareWithGeometry1; - - [NativeTypeName("HRESULT (D2D1_GEOMETRY_SIMPLIFICATION_OPTION, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Simplify1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1TessellationSink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Tessellate1; - - [NativeTypeName("HRESULT (ID2D1Geometry *, D2D1_COMBINE_MODE, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CombineWithGeometry1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Outline1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputeArea1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputeLength1; - - [NativeTypeName("HRESULT (FLOAT, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_POINT_2F *, D2D1_POINT_2F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputePointAtLength1; - - [NativeTypeName("HRESULT (FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Widen1; - - [NativeTypeName("D2D1_FILL_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFillMode; - - [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSourceGeometryCount; - - [NativeTypeName("void (ID2D1Geometry **, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSourceGeometries; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1GeometrySink.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1GeometrySink.cs index 8229b5db..bc76f04b 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1GeometrySink.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1GeometrySink.cs @@ -141,53 +141,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(14)] void AddArc([NativeTypeName("const D2D1_ARC_SEGMENT *")] D2D1_ARC_SEGMENT* arc); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (D2D1_FILL_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetFillMode; - - [NativeTypeName("void (D2D1_PATH_SEGMENT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetSegmentFlags; - - [NativeTypeName("void (D2D1_POINT_2F, D2D1_FIGURE_BEGIN) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] BeginFigure; - - [NativeTypeName("void (const D2D1_POINT_2F *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddLines; - - [NativeTypeName("void (const D2D1_BEZIER_SEGMENT *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddBeziers; - - [NativeTypeName("void (D2D1_FIGURE_END) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EndFigure; - - [NativeTypeName("HRESULT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Close; - - [NativeTypeName("void (D2D1_POINT_2F) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddLine; - - [NativeTypeName("void (const D2D1_BEZIER_SEGMENT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddBezier; - - [NativeTypeName("void (const D2D1_QUADRATIC_BEZIER_SEGMENT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddQuadraticBezier; - - [NativeTypeName("void (const D2D1_QUADRATIC_BEZIER_SEGMENT *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddQuadraticBeziers; - - [NativeTypeName("void (const D2D1_ARC_SEGMENT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddArc; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1GradientStopCollection.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1GradientStopCollection.cs index 5ba04780..c017b8ce 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1GradientStopCollection.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1GradientStopCollection.cs @@ -91,32 +91,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(7)] D2D1_EXTEND_MODE GetExtendMode(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGradientStopCount; - - [NativeTypeName("void (D2D1_GRADIENT_STOP *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGradientStops; - - [NativeTypeName("D2D1_GAMMA () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetColorInterpolationGamma; - - [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetExtendMode; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1HwndRenderTarget.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1HwndRenderTarget.cs index 0f1a7d1b..02bbbdcd 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1HwndRenderTarget.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1HwndRenderTarget.cs @@ -537,188 +537,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(59)] HWND GetHwnd(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (D2D1_SIZE_U, const void *, UINT32, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmap1; - - [NativeTypeName("HRESULT (IWICBitmapSource *, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromWicBitmap1; - - [NativeTypeName("HRESULT (const IID &, void *, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSharedBitmap; - - [NativeTypeName("HRESULT (ID2D1Bitmap *, const D2D1_BITMAP_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1BitmapBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapBrush2; - - [NativeTypeName("HRESULT (const D2D1_COLOR_F *, const D2D1_BRUSH_PROPERTIES *, ID2D1SolidColorBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSolidColorBrush1; - - [NativeTypeName("HRESULT (const D2D1_GRADIENT_STOP *, UINT32, D2D1_GAMMA, D2D1_EXTEND_MODE, ID2D1GradientStopCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateGradientStopCollection1; - - [NativeTypeName("HRESULT (const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1GradientStopCollection *, ID2D1LinearGradientBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateLinearGradientBrush1; - - [NativeTypeName("HRESULT (const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1GradientStopCollection *, ID2D1RadialGradientBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateRadialGradientBrush1; - - [NativeTypeName("HRESULT (const D2D1_SIZE_F *, const D2D1_SIZE_U *, const D2D1_PIXEL_FORMAT *, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS, ID2D1BitmapRenderTarget **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateCompatibleRenderTarget5; - - [NativeTypeName("HRESULT (const D2D1_SIZE_F *, ID2D1Layer **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateLayer2; - - [NativeTypeName("HRESULT (ID2D1Mesh **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateMesh; - - [NativeTypeName("void (D2D1_POINT_2F, D2D1_POINT_2F, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawLine; - - [NativeTypeName("void (const D2D1_RECT_F *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawRectangle; - - [NativeTypeName("void (const D2D1_RECT_F *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillRectangle; - - [NativeTypeName("void (const D2D1_ROUNDED_RECT *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawRoundedRectangle; - - [NativeTypeName("void (const D2D1_ROUNDED_RECT *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillRoundedRectangle; - - [NativeTypeName("void (const D2D1_ELLIPSE *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawEllipse; - - [NativeTypeName("void (const D2D1_ELLIPSE *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillEllipse; - - [NativeTypeName("void (ID2D1Geometry *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGeometry; - - [NativeTypeName("void (ID2D1Geometry *, ID2D1Brush *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillGeometry; - - [NativeTypeName("void (ID2D1Mesh *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillMesh; - - [NativeTypeName("void (ID2D1Bitmap *, ID2D1Brush *, D2D1_OPACITY_MASK_CONTENT, const D2D1_RECT_F *, const D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillOpacityMask; - - [NativeTypeName("void (ID2D1Bitmap *, const D2D1_RECT_F *, FLOAT, D2D1_BITMAP_INTERPOLATION_MODE, const D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawBitmap; - - [NativeTypeName("void (const WCHAR *, UINT32, IDWriteTextFormat *, const D2D1_RECT_F *, ID2D1Brush *, D2D1_DRAW_TEXT_OPTIONS, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawText; - - [NativeTypeName("void (D2D1_POINT_2F, IDWriteTextLayout *, ID2D1Brush *, D2D1_DRAW_TEXT_OPTIONS) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawTextLayout; - - [NativeTypeName("void (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, ID2D1Brush *, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGlyphRun; - - [NativeTypeName("void (const D2D1_MATRIX_3X2_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTransform; - - [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTransform; - - [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetAntialiasMode; - - [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetAntialiasMode; - - [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextAntialiasMode; - - [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTextAntialiasMode; - - [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextRenderingParams; - - [NativeTypeName("void (IDWriteRenderingParams **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTextRenderingParams; - - [NativeTypeName("void (D2D1_TAG, D2D1_TAG) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTags; - - [NativeTypeName("void (D2D1_TAG *, D2D1_TAG *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTags; - - [NativeTypeName("void (const D2D1_LAYER_PARAMETERS *, ID2D1Layer *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushLayer; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PopLayer; - - [NativeTypeName("HRESULT (D2D1_TAG *, D2D1_TAG *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Flush; - - [NativeTypeName("void (ID2D1DrawingStateBlock *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SaveDrawingState; - - [NativeTypeName("void (ID2D1DrawingStateBlock *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RestoreDrawingState; - - [NativeTypeName("void (const D2D1_RECT_F *, D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushAxisAlignedClip; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PopAxisAlignedClip; - - [NativeTypeName("void (const D2D1_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Clear; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] BeginDraw; - - [NativeTypeName("HRESULT (D2D1_TAG *, D2D1_TAG *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EndDraw; - - [NativeTypeName("D2D1_PIXEL_FORMAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("void (FLOAT, FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetDpi; - - [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDpi; - - [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("D2D1_SIZE_U () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelSize; - - [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMaximumBitmapSize; - - [NativeTypeName("BOOL (const D2D1_RENDER_TARGET_PROPERTIES *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsSupported; - - [NativeTypeName("D2D1_WINDOW_STATE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CheckWindowState; - - [NativeTypeName("HRESULT (const D2D1_SIZE_U *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Resize; - - [NativeTypeName("HWND () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetHwnd; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Image.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Image.cs index 484af3f5..123a9c84 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Image.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Image.cs @@ -50,20 +50,5 @@ namespace TerraFX.Interop.DirectX public interface Interface : ID2D1Resource.Interface { } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Layer.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Layer.cs index 5a99b1cf..003addb2 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Layer.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Layer.cs @@ -62,23 +62,5 @@ namespace TerraFX.Interop.DirectX [return: NativeTypeName("D2D1_SIZE_F")] D2D_SIZE_F GetSize(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1LinearGradientBrush.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1LinearGradientBrush.cs index 79c50f95..f22073c3 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1LinearGradientBrush.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1LinearGradientBrush.cs @@ -133,47 +133,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(12)] void GetGradientStopCollection(ID2D1GradientStopCollection** gradientStopCollection); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("void (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetOpacity; - - [NativeTypeName("void (const D2D1_MATRIX_3X2_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTransform; - - [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetOpacity; - - [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTransform; - - [NativeTypeName("void (D2D1_POINT_2F) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetStartPoint; - - [NativeTypeName("void (D2D1_POINT_2F) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetEndPoint; - - [NativeTypeName("D2D1_POINT_2F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetStartPoint; - - [NativeTypeName("D2D1_POINT_2F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetEndPoint; - - [NativeTypeName("void (ID2D1GradientStopCollection **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGradientStopCollection; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Mesh.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Mesh.cs index 4efa15e8..f57e85ef 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Mesh.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Mesh.cs @@ -59,23 +59,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(4)] HRESULT Open(ID2D1TessellationSink** tessellationSink); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (ID2D1TessellationSink **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Open; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1PathGeometry.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1PathGeometry.cs index eb02d3c4..010c3026 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1PathGeometry.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1PathGeometry.cs @@ -240,71 +240,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(20)] HRESULT GetFigureCount([NativeTypeName("UINT32 *")] uint* count); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBounds; - - [NativeTypeName("HRESULT (FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWidenedBounds1; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, BOOL *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] StrokeContainsPoint1; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, const D2D1_MATRIX_3X2_F *, FLOAT, BOOL *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillContainsPoint1; - - [NativeTypeName("HRESULT (ID2D1Geometry *, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_GEOMETRY_RELATION *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CompareWithGeometry1; - - [NativeTypeName("HRESULT (D2D1_GEOMETRY_SIMPLIFICATION_OPTION, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Simplify1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1TessellationSink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Tessellate1; - - [NativeTypeName("HRESULT (ID2D1Geometry *, D2D1_COMBINE_MODE, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CombineWithGeometry1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Outline1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputeArea1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputeLength1; - - [NativeTypeName("HRESULT (FLOAT, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_POINT_2F *, D2D1_POINT_2F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputePointAtLength1; - - [NativeTypeName("HRESULT (FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Widen1; - - [NativeTypeName("HRESULT (ID2D1GeometrySink **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Open; - - [NativeTypeName("HRESULT (ID2D1GeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Stream; - - [NativeTypeName("HRESULT (UINT32 *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSegmentCount; - - [NativeTypeName("HRESULT (UINT32 *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFigureCount; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RadialGradientBrush.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RadialGradientBrush.cs index b028e17f..38471661 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RadialGradientBrush.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RadialGradientBrush.cs @@ -173,59 +173,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(16)] void GetGradientStopCollection(ID2D1GradientStopCollection** gradientStopCollection); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("void (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetOpacity; - - [NativeTypeName("void (const D2D1_MATRIX_3X2_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTransform; - - [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetOpacity; - - [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTransform; - - [NativeTypeName("void (D2D1_POINT_2F) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetCenter; - - [NativeTypeName("void (D2D1_POINT_2F) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetGradientOriginOffset; - - [NativeTypeName("void (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetRadiusX; - - [NativeTypeName("void (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetRadiusY; - - [NativeTypeName("D2D1_POINT_2F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCenter; - - [NativeTypeName("D2D1_POINT_2F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGradientOriginOffset; - - [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRadiusX; - - [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRadiusY; - - [NativeTypeName("void (ID2D1GradientStopCollection **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGradientStopCollection; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RectangleGeometry.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RectangleGeometry.cs index 7751ff72..12b23dab 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RectangleGeometry.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RectangleGeometry.cs @@ -210,62 +210,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(17)] void GetRect([NativeTypeName("D2D1_RECT_F *")] D2D_RECT_F* rect); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBounds; - - [NativeTypeName("HRESULT (FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWidenedBounds1; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, BOOL *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] StrokeContainsPoint1; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, const D2D1_MATRIX_3X2_F *, FLOAT, BOOL *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillContainsPoint1; - - [NativeTypeName("HRESULT (ID2D1Geometry *, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_GEOMETRY_RELATION *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CompareWithGeometry1; - - [NativeTypeName("HRESULT (D2D1_GEOMETRY_SIMPLIFICATION_OPTION, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Simplify1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1TessellationSink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Tessellate1; - - [NativeTypeName("HRESULT (ID2D1Geometry *, D2D1_COMBINE_MODE, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CombineWithGeometry1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Outline1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputeArea1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputeLength1; - - [NativeTypeName("HRESULT (FLOAT, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_POINT_2F *, D2D1_POINT_2F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputePointAtLength1; - - [NativeTypeName("HRESULT (FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Widen1; - - [NativeTypeName("void (D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRect; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RenderTarget.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RenderTarget.cs index 39ee4a9b..ee09363e 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RenderTarget.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RenderTarget.cs @@ -669,179 +669,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(56)] BOOL IsSupported([NativeTypeName("const D2D1_RENDER_TARGET_PROPERTIES *")] D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (D2D1_SIZE_U, const void *, UINT32, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmap1; - - [NativeTypeName("HRESULT (IWICBitmapSource *, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromWicBitmap1; - - [NativeTypeName("HRESULT (const IID &, void *, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSharedBitmap; - - [NativeTypeName("HRESULT (ID2D1Bitmap *, const D2D1_BITMAP_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1BitmapBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapBrush2; - - [NativeTypeName("HRESULT (const D2D1_COLOR_F *, const D2D1_BRUSH_PROPERTIES *, ID2D1SolidColorBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSolidColorBrush1; - - [NativeTypeName("HRESULT (const D2D1_GRADIENT_STOP *, UINT32, D2D1_GAMMA, D2D1_EXTEND_MODE, ID2D1GradientStopCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateGradientStopCollection1; - - [NativeTypeName("HRESULT (const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1GradientStopCollection *, ID2D1LinearGradientBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateLinearGradientBrush1; - - [NativeTypeName("HRESULT (const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1GradientStopCollection *, ID2D1RadialGradientBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateRadialGradientBrush1; - - [NativeTypeName("HRESULT (const D2D1_SIZE_F *, const D2D1_SIZE_U *, const D2D1_PIXEL_FORMAT *, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS, ID2D1BitmapRenderTarget **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateCompatibleRenderTarget5; - - [NativeTypeName("HRESULT (const D2D1_SIZE_F *, ID2D1Layer **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateLayer2; - - [NativeTypeName("HRESULT (ID2D1Mesh **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateMesh; - - [NativeTypeName("void (D2D1_POINT_2F, D2D1_POINT_2F, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawLine; - - [NativeTypeName("void (const D2D1_RECT_F *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawRectangle; - - [NativeTypeName("void (const D2D1_RECT_F *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillRectangle; - - [NativeTypeName("void (const D2D1_ROUNDED_RECT *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawRoundedRectangle; - - [NativeTypeName("void (const D2D1_ROUNDED_RECT *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillRoundedRectangle; - - [NativeTypeName("void (const D2D1_ELLIPSE *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawEllipse; - - [NativeTypeName("void (const D2D1_ELLIPSE *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillEllipse; - - [NativeTypeName("void (ID2D1Geometry *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGeometry; - - [NativeTypeName("void (ID2D1Geometry *, ID2D1Brush *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillGeometry; - - [NativeTypeName("void (ID2D1Mesh *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillMesh; - - [NativeTypeName("void (ID2D1Bitmap *, ID2D1Brush *, D2D1_OPACITY_MASK_CONTENT, const D2D1_RECT_F *, const D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillOpacityMask; - - [NativeTypeName("void (ID2D1Bitmap *, const D2D1_RECT_F *, FLOAT, D2D1_BITMAP_INTERPOLATION_MODE, const D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawBitmap; - - [NativeTypeName("void (const WCHAR *, UINT32, IDWriteTextFormat *, const D2D1_RECT_F *, ID2D1Brush *, D2D1_DRAW_TEXT_OPTIONS, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawText; - - [NativeTypeName("void (D2D1_POINT_2F, IDWriteTextLayout *, ID2D1Brush *, D2D1_DRAW_TEXT_OPTIONS) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawTextLayout; - - [NativeTypeName("void (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, ID2D1Brush *, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGlyphRun; - - [NativeTypeName("void (const D2D1_MATRIX_3X2_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTransform; - - [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTransform; - - [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetAntialiasMode; - - [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetAntialiasMode; - - [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextAntialiasMode; - - [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTextAntialiasMode; - - [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextRenderingParams; - - [NativeTypeName("void (IDWriteRenderingParams **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTextRenderingParams; - - [NativeTypeName("void (D2D1_TAG, D2D1_TAG) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTags; - - [NativeTypeName("void (D2D1_TAG *, D2D1_TAG *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTags; - - [NativeTypeName("void (const D2D1_LAYER_PARAMETERS *, ID2D1Layer *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushLayer; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PopLayer; - - [NativeTypeName("HRESULT (D2D1_TAG *, D2D1_TAG *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Flush; - - [NativeTypeName("void (ID2D1DrawingStateBlock *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SaveDrawingState; - - [NativeTypeName("void (ID2D1DrawingStateBlock *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RestoreDrawingState; - - [NativeTypeName("void (const D2D1_RECT_F *, D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushAxisAlignedClip; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PopAxisAlignedClip; - - [NativeTypeName("void (const D2D1_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Clear; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] BeginDraw; - - [NativeTypeName("HRESULT (D2D1_TAG *, D2D1_TAG *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EndDraw; - - [NativeTypeName("D2D1_PIXEL_FORMAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("void (FLOAT, FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetDpi; - - [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDpi; - - [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("D2D1_SIZE_U () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelSize; - - [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMaximumBitmapSize; - - [NativeTypeName("BOOL (const D2D1_RENDER_TARGET_PROPERTIES *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsSupported; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Resource.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Resource.cs index ba1a5eb1..7c5ab5c1 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Resource.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1Resource.cs @@ -52,20 +52,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(3)] void GetFactory(ID2D1Factory** factory); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RoundedRectangleGeometry.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RoundedRectangleGeometry.cs index e3695e24..f80d03d8 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RoundedRectangleGeometry.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1RoundedRectangleGeometry.cs @@ -210,62 +210,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(17)] void GetRoundedRect(D2D1_ROUNDED_RECT* roundedRect); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBounds; - - [NativeTypeName("HRESULT (FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWidenedBounds1; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, BOOL *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] StrokeContainsPoint1; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, const D2D1_MATRIX_3X2_F *, FLOAT, BOOL *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillContainsPoint1; - - [NativeTypeName("HRESULT (ID2D1Geometry *, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_GEOMETRY_RELATION *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CompareWithGeometry1; - - [NativeTypeName("HRESULT (D2D1_GEOMETRY_SIMPLIFICATION_OPTION, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Simplify1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1TessellationSink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Tessellate1; - - [NativeTypeName("HRESULT (ID2D1Geometry *, D2D1_COMBINE_MODE, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CombineWithGeometry1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Outline1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputeArea1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputeLength1; - - [NativeTypeName("HRESULT (FLOAT, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_POINT_2F *, D2D1_POINT_2F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputePointAtLength1; - - [NativeTypeName("HRESULT (FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Widen1; - - [NativeTypeName("void (D2D1_ROUNDED_RECT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRoundedRect; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1SimplifiedGeometrySink.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1SimplifiedGeometrySink.cs index ca97380c..062ff9bb 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1SimplifiedGeometrySink.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1SimplifiedGeometrySink.cs @@ -112,38 +112,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(9)] HRESULT Close(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (D2D1_FILL_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetFillMode; - - [NativeTypeName("void (D2D1_PATH_SEGMENT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetSegmentFlags; - - [NativeTypeName("void (D2D1_POINT_2F, D2D1_FIGURE_BEGIN) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] BeginFigure; - - [NativeTypeName("void (const D2D1_POINT_2F *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddLines; - - [NativeTypeName("void (const D2D1_BEZIER_SEGMENT *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddBeziers; - - [NativeTypeName("void (D2D1_FIGURE_END) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EndFigure; - - [NativeTypeName("HRESULT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Close; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1SolidColorBrush.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1SolidColorBrush.cs index 0b58eedc..02c2527a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1SolidColorBrush.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1SolidColorBrush.cs @@ -100,38 +100,5 @@ namespace TerraFX.Interop.DirectX [return: NativeTypeName("D2D1_COLOR_F")] DXGI_RGBA GetColor(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("void (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetOpacity; - - [NativeTypeName("void (const D2D1_MATRIX_3X2_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTransform; - - [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetOpacity; - - [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTransform; - - [NativeTypeName("void (const D2D1_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetColor; - - [NativeTypeName("D2D1_COLOR_F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetColor; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1StrokeStyle.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1StrokeStyle.cs index 38ec44a3..ea6d894a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1StrokeStyle.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1StrokeStyle.cs @@ -141,47 +141,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(12)] void GetDashes(float* dashes, [NativeTypeName("UINT32")] uint dashesCount); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("D2D1_CAP_STYLE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetStartCap; - - [NativeTypeName("D2D1_CAP_STYLE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetEndCap; - - [NativeTypeName("D2D1_CAP_STYLE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDashCap; - - [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMiterLimit; - - [NativeTypeName("D2D1_LINE_JOIN () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLineJoin; - - [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDashOffset; - - [NativeTypeName("D2D1_DASH_STYLE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDashStyle; - - [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDashesCount; - - [NativeTypeName("void (FLOAT *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDashes; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1TessellationSink.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1TessellationSink.cs index f0329fa1..a40a7be2 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1TessellationSink.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1TessellationSink.cs @@ -62,23 +62,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(4)] HRESULT Close(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (const D2D1_TRIANGLE *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddTriangles; - - [NativeTypeName("HRESULT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Close; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1TransformedGeometry.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1TransformedGeometry.cs index d92e87b4..641515e8 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1TransformedGeometry.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1/ID2D1TransformedGeometry.cs @@ -220,65 +220,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(18)] void GetTransform([NativeTypeName("D2D1_MATRIX_3X2_F *")] D2D_MATRIX_3X2_F* transform); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBounds; - - [NativeTypeName("HRESULT (FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWidenedBounds1; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, BOOL *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] StrokeContainsPoint1; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, const D2D1_MATRIX_3X2_F *, FLOAT, BOOL *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillContainsPoint1; - - [NativeTypeName("HRESULT (ID2D1Geometry *, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_GEOMETRY_RELATION *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CompareWithGeometry1; - - [NativeTypeName("HRESULT (D2D1_GEOMETRY_SIMPLIFICATION_OPTION, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Simplify1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1TessellationSink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Tessellate1; - - [NativeTypeName("HRESULT (ID2D1Geometry *, D2D1_COMBINE_MODE, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CombineWithGeometry1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Outline1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputeArea1; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *, FLOAT, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputeLength1; - - [NativeTypeName("HRESULT (FLOAT, const D2D1_MATRIX_3X2_F *, FLOAT, D2D1_POINT_2F *, D2D1_POINT_2F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ComputePointAtLength1; - - [NativeTypeName("HRESULT (FLOAT, ID2D1StrokeStyle *, const D2D1_MATRIX_3X2_F *, FLOAT, ID2D1SimplifiedGeometrySink *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Widen1; - - [NativeTypeName("void (ID2D1Geometry **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSourceGeometry; - - [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTransform; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Bitmap1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Bitmap1.cs index 09df64df..8d15a6dd 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Bitmap1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Bitmap1.cs @@ -153,56 +153,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(15)] HRESULT Unmap(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("D2D1_SIZE_U () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelSize; - - [NativeTypeName("D2D1_PIXEL_FORMAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDpi; - - [NativeTypeName("HRESULT (const D2D1_POINT_2U *, ID2D1Bitmap *, const D2D1_RECT_U *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyFromBitmap; - - [NativeTypeName("HRESULT (const D2D1_POINT_2U *, ID2D1RenderTarget *, const D2D1_RECT_U *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyFromRenderTarget; - - [NativeTypeName("HRESULT (const D2D1_RECT_U *, const void *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyFromMemory; - - [NativeTypeName("void (ID2D1ColorContext **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetColorContext; - - [NativeTypeName("D2D1_BITMAP_OPTIONS () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetOptions; - - [NativeTypeName("HRESULT (IDXGISurface **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSurface; - - [NativeTypeName("HRESULT (D2D1_MAP_OPTIONS, D2D1_MAPPED_RECT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Map; - - [NativeTypeName("HRESULT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Unmap; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1BitmapBrush1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1BitmapBrush1.cs index d47a771c..fbea73aa 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1BitmapBrush1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1BitmapBrush1.cs @@ -153,62 +153,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(17)] D2D1_INTERPOLATION_MODE GetInterpolationMode1(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("void (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetOpacity; - - [NativeTypeName("void (const D2D1_MATRIX_3X2_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTransform; - - [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetOpacity; - - [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTransform; - - [NativeTypeName("void (D2D1_EXTEND_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetExtendModeX; - - [NativeTypeName("void (D2D1_EXTEND_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetExtendModeY; - - [NativeTypeName("void (D2D1_BITMAP_INTERPOLATION_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetInterpolationMode; - - [NativeTypeName("void (ID2D1Bitmap *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetBitmap; - - [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetExtendModeX; - - [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetExtendModeY; - - [NativeTypeName("D2D1_BITMAP_INTERPOLATION_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetInterpolationMode; - - [NativeTypeName("void (ID2D1Bitmap **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBitmap; - - [NativeTypeName("void (D2D1_INTERPOLATION_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetInterpolationMode1; - - [NativeTypeName("D2D1_INTERPOLATION_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetInterpolationMode1; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1ColorContext.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1ColorContext.cs index ad08942e..db895050 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1ColorContext.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1ColorContext.cs @@ -81,29 +81,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(6)] HRESULT GetProfile(byte* profile, [NativeTypeName("UINT32")] uint profileSize); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("D2D1_COLOR_SPACE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetColorSpace; - - [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetProfileSize; - - [NativeTypeName("HRESULT (BYTE *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetProfile; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1CommandList.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1CommandList.cs index 0fdd9e69..3a28078f 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1CommandList.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1CommandList.cs @@ -69,26 +69,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(5)] HRESULT Close(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (ID2D1CommandSink *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Stream; - - [NativeTypeName("HRESULT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Close; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1CommandSink.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1CommandSink.cs index 2432a922..ff97e747 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1CommandSink.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1CommandSink.cs @@ -292,92 +292,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(27)] HRESULT PopLayer(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] BeginDraw; - - [NativeTypeName("HRESULT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EndDraw; - - [NativeTypeName("HRESULT (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetAntialiasMode; - - [NativeTypeName("HRESULT (D2D1_TAG, D2D1_TAG) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTags; - - [NativeTypeName("HRESULT (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextAntialiasMode; - - [NativeTypeName("HRESULT (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextRenderingParams; - - [NativeTypeName("HRESULT (const D2D1_MATRIX_3X2_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTransform; - - [NativeTypeName("HRESULT (D2D1_PRIMITIVE_BLEND) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrimitiveBlend; - - [NativeTypeName("HRESULT (D2D1_UNIT_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetUnitMode; - - [NativeTypeName("HRESULT (const D2D1_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Clear; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, const DWRITE_GLYPH_RUN_DESCRIPTION *, ID2D1Brush *, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGlyphRun; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, D2D1_POINT_2F, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawLine; - - [NativeTypeName("HRESULT (ID2D1Geometry *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGeometry; - - [NativeTypeName("HRESULT (const D2D1_RECT_F *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawRectangle; - - [NativeTypeName("HRESULT (ID2D1Bitmap *, const D2D1_RECT_F *, FLOAT, D2D1_INTERPOLATION_MODE, const D2D1_RECT_F *, const D2D1_MATRIX_4X4_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawBitmap; - - [NativeTypeName("HRESULT (ID2D1Image *, const D2D1_POINT_2F *, const D2D1_RECT_F *, D2D1_INTERPOLATION_MODE, D2D1_COMPOSITE_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawImage; - - [NativeTypeName("HRESULT (ID2D1GdiMetafile *, const D2D1_POINT_2F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGdiMetafile; - - [NativeTypeName("HRESULT (ID2D1Mesh *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillMesh; - - [NativeTypeName("HRESULT (ID2D1Bitmap *, ID2D1Brush *, const D2D1_RECT_F *, const D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillOpacityMask; - - [NativeTypeName("HRESULT (ID2D1Geometry *, ID2D1Brush *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillGeometry; - - [NativeTypeName("HRESULT (const D2D1_RECT_F *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillRectangle; - - [NativeTypeName("HRESULT (const D2D1_RECT_F *, D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushAxisAlignedClip; - - [NativeTypeName("HRESULT (const D2D1_LAYER_PARAMETERS1 *, ID2D1Layer *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushLayer; - - [NativeTypeName("HRESULT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PopAxisAlignedClip; - - [NativeTypeName("HRESULT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PopLayer; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Device.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Device.cs index 5ae454cf..c05de2f2 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Device.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Device.cs @@ -101,35 +101,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(8)] void ClearResources([NativeTypeName("UINT32")] uint millisecondsSinceUse = 0); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (D2D1_DEVICE_CONTEXT_OPTIONS, ID2D1DeviceContext **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDeviceContext; - - [NativeTypeName("HRESULT (IWICImagingFactory *, IPrintDocumentPackageTarget *, const D2D1_PRINT_CONTROL_PROPERTIES *, ID2D1PrintControl **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreatePrintControl; - - [NativeTypeName("void (UINT64) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetMaximumTextureMemory; - - [NativeTypeName("UINT64 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMaximumTextureMemory; - - [NativeTypeName("void (UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ClearResources; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1DeviceContext.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1DeviceContext.cs index d3d7ab4a..c01beeaf 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1DeviceContext.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1DeviceContext.cs @@ -923,284 +923,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(91)] void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, [NativeTypeName("const D2D1_RECT_F *")] D2D_RECT_F* destinationRectangle = null, [NativeTypeName("const D2D1_RECT_F *")] D2D_RECT_F* sourceRectangle = null); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (D2D1_SIZE_U, const void *, UINT32, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmap1; - - [NativeTypeName("HRESULT (IWICBitmapSource *, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromWicBitmap1; - - [NativeTypeName("HRESULT (const IID &, void *, const D2D1_BITMAP_PROPERTIES *, ID2D1Bitmap **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSharedBitmap; - - [NativeTypeName("HRESULT (ID2D1Bitmap *, const D2D1_BITMAP_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1BitmapBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapBrush2; - - [NativeTypeName("HRESULT (const D2D1_COLOR_F *, const D2D1_BRUSH_PROPERTIES *, ID2D1SolidColorBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSolidColorBrush1; - - [NativeTypeName("HRESULT (const D2D1_GRADIENT_STOP *, UINT32, D2D1_GAMMA, D2D1_EXTEND_MODE, ID2D1GradientStopCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateGradientStopCollection1; - - [NativeTypeName("HRESULT (const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1GradientStopCollection *, ID2D1LinearGradientBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateLinearGradientBrush1; - - [NativeTypeName("HRESULT (const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1GradientStopCollection *, ID2D1RadialGradientBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateRadialGradientBrush1; - - [NativeTypeName("HRESULT (const D2D1_SIZE_F *, const D2D1_SIZE_U *, const D2D1_PIXEL_FORMAT *, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS, ID2D1BitmapRenderTarget **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateCompatibleRenderTarget5; - - [NativeTypeName("HRESULT (const D2D1_SIZE_F *, ID2D1Layer **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateLayer2; - - [NativeTypeName("HRESULT (ID2D1Mesh **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateMesh; - - [NativeTypeName("void (D2D1_POINT_2F, D2D1_POINT_2F, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawLine; - - [NativeTypeName("void (const D2D1_RECT_F *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawRectangle; - - [NativeTypeName("void (const D2D1_RECT_F *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillRectangle; - - [NativeTypeName("void (const D2D1_ROUNDED_RECT *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawRoundedRectangle; - - [NativeTypeName("void (const D2D1_ROUNDED_RECT *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillRoundedRectangle; - - [NativeTypeName("void (const D2D1_ELLIPSE *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawEllipse; - - [NativeTypeName("void (const D2D1_ELLIPSE *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillEllipse; - - [NativeTypeName("void (ID2D1Geometry *, ID2D1Brush *, FLOAT, ID2D1StrokeStyle *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGeometry; - - [NativeTypeName("void (ID2D1Geometry *, ID2D1Brush *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillGeometry; - - [NativeTypeName("void (ID2D1Mesh *, ID2D1Brush *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillMesh; - - [NativeTypeName("void (ID2D1Bitmap *, ID2D1Brush *, D2D1_OPACITY_MASK_CONTENT, const D2D1_RECT_F *, const D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillOpacityMask; - - [NativeTypeName("void (ID2D1Bitmap *, const D2D1_RECT_F *, FLOAT, D2D1_BITMAP_INTERPOLATION_MODE, const D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawBitmap; - - [NativeTypeName("void (const WCHAR *, UINT32, IDWriteTextFormat *, const D2D1_RECT_F *, ID2D1Brush *, D2D1_DRAW_TEXT_OPTIONS, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawText; - - [NativeTypeName("void (D2D1_POINT_2F, IDWriteTextLayout *, ID2D1Brush *, D2D1_DRAW_TEXT_OPTIONS) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawTextLayout; - - [NativeTypeName("void (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, ID2D1Brush *, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGlyphRun; - - [NativeTypeName("void (const D2D1_MATRIX_3X2_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTransform; - - [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTransform; - - [NativeTypeName("void (D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetAntialiasMode; - - [NativeTypeName("D2D1_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetAntialiasMode; - - [NativeTypeName("void (D2D1_TEXT_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextAntialiasMode; - - [NativeTypeName("D2D1_TEXT_ANTIALIAS_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTextAntialiasMode; - - [NativeTypeName("void (IDWriteRenderingParams *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextRenderingParams; - - [NativeTypeName("void (IDWriteRenderingParams **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTextRenderingParams; - - [NativeTypeName("void (D2D1_TAG, D2D1_TAG) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTags; - - [NativeTypeName("void (D2D1_TAG *, D2D1_TAG *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTags; - - [NativeTypeName("void (const D2D1_LAYER_PARAMETERS *, ID2D1Layer *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushLayer; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PopLayer; - - [NativeTypeName("HRESULT (D2D1_TAG *, D2D1_TAG *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Flush; - - [NativeTypeName("void (ID2D1DrawingStateBlock *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SaveDrawingState; - - [NativeTypeName("void (ID2D1DrawingStateBlock *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RestoreDrawingState; - - [NativeTypeName("void (const D2D1_RECT_F *, D2D1_ANTIALIAS_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushAxisAlignedClip; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PopAxisAlignedClip; - - [NativeTypeName("void (const D2D1_COLOR_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Clear; - - [NativeTypeName("void () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] BeginDraw; - - [NativeTypeName("HRESULT (D2D1_TAG *, D2D1_TAG *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EndDraw; - - [NativeTypeName("D2D1_PIXEL_FORMAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("void (FLOAT, FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetDpi; - - [NativeTypeName("void (FLOAT *, FLOAT *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDpi; - - [NativeTypeName("D2D1_SIZE_F () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("D2D1_SIZE_U () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelSize; - - [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMaximumBitmapSize; - - [NativeTypeName("BOOL (const D2D1_RENDER_TARGET_PROPERTIES *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsSupported; - - [NativeTypeName("HRESULT (D2D1_SIZE_U, const void *, UINT32, const D2D1_BITMAP_PROPERTIES1 *, ID2D1Bitmap1 **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmap2; - - [NativeTypeName("HRESULT (IWICBitmapSource *, const D2D1_BITMAP_PROPERTIES1 *, ID2D1Bitmap1 **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromWicBitmap3; - - [NativeTypeName("HRESULT (D2D1_COLOR_SPACE, const BYTE *, UINT32, ID2D1ColorContext **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateColorContext; - - [NativeTypeName("HRESULT (PCWSTR, ID2D1ColorContext **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateColorContextFromFilename; - - [NativeTypeName("HRESULT (IWICColorContext *, ID2D1ColorContext **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateColorContextFromWicColorContext; - - [NativeTypeName("HRESULT (IDXGISurface *, const D2D1_BITMAP_PROPERTIES1 *, ID2D1Bitmap1 **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromDxgiSurface; - - [NativeTypeName("HRESULT (const IID &, ID2D1Effect **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateEffect; - - [NativeTypeName("HRESULT (const D2D1_GRADIENT_STOP *, UINT32, D2D1_COLOR_SPACE, D2D1_COLOR_SPACE, D2D1_BUFFER_PRECISION, D2D1_EXTEND_MODE, D2D1_COLOR_INTERPOLATION_MODE, ID2D1GradientStopCollection1 **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateGradientStopCollection2; - - [NativeTypeName("HRESULT (ID2D1Image *, const D2D1_IMAGE_BRUSH_PROPERTIES *, const D2D1_BRUSH_PROPERTIES *, ID2D1ImageBrush **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateImageBrush1; - - [NativeTypeName("HRESULT (ID2D1Bitmap *, const D2D1_BITMAP_BRUSH_PROPERTIES1 *, const D2D1_BRUSH_PROPERTIES *, ID2D1BitmapBrush1 **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapBrush5; - - [NativeTypeName("HRESULT (ID2D1CommandList **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateCommandList; - - [NativeTypeName("BOOL (DXGI_FORMAT) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsDxgiFormatSupported; - - [NativeTypeName("BOOL (D2D1_BUFFER_PRECISION) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsBufferPrecisionSupported; - - [NativeTypeName("HRESULT (ID2D1Image *, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetImageLocalBounds; - - [NativeTypeName("HRESULT (ID2D1Image *, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetImageWorldBounds; - - [NativeTypeName("HRESULT (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, DWRITE_MEASURING_MODE, D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGlyphRunWorldBounds; - - [NativeTypeName("void (ID2D1Device **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("void (ID2D1Image *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTarget; - - [NativeTypeName("void (ID2D1Image **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTarget; - - [NativeTypeName("void (const D2D1_RENDERING_CONTROLS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetRenderingControls; - - [NativeTypeName("void (D2D1_RENDERING_CONTROLS *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRenderingControls; - - [NativeTypeName("void (D2D1_PRIMITIVE_BLEND) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrimitiveBlend; - - [NativeTypeName("D2D1_PRIMITIVE_BLEND () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrimitiveBlend; - - [NativeTypeName("void (D2D1_UNIT_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetUnitMode; - - [NativeTypeName("D2D1_UNIT_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetUnitMode; - - [NativeTypeName("void (D2D1_POINT_2F, const DWRITE_GLYPH_RUN *, const DWRITE_GLYPH_RUN_DESCRIPTION *, ID2D1Brush *, DWRITE_MEASURING_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGlyphRun1; - - [NativeTypeName("void (ID2D1Image *, const D2D1_POINT_2F *, const D2D1_RECT_F *, D2D1_INTERPOLATION_MODE, D2D1_COMPOSITE_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawImage7; - - [NativeTypeName("void (ID2D1GdiMetafile *, const D2D1_POINT_2F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGdiMetafile1; - - [NativeTypeName("void (ID2D1Bitmap *, const D2D1_RECT_F *, FLOAT, D2D1_INTERPOLATION_MODE, const D2D1_RECT_F *, const D2D1_MATRIX_4X4_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawBitmap1; - - [NativeTypeName("void (const D2D1_LAYER_PARAMETERS1 *, ID2D1Layer *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushLayer1; - - [NativeTypeName("HRESULT (ID2D1Effect *, UINT32, const D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] InvalidateEffectInputRectangle; - - [NativeTypeName("HRESULT (ID2D1Effect *, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetEffectInvalidRectangleCount; - - [NativeTypeName("HRESULT (ID2D1Effect *, D2D1_RECT_F *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetEffectInvalidRectangles; - - [NativeTypeName("HRESULT (ID2D1Effect *, const D2D1_RECT_F *, const D2D1_EFFECT_INPUT_DESCRIPTION *, D2D1_RECT_F *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetEffectRequiredInputRectangles; - - [NativeTypeName("void (ID2D1Bitmap *, ID2D1Brush *, const D2D1_RECT_F *, const D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FillOpacityMask1; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Effect.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Effect.cs index 5a0ca56d..a1d08acd 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Effect.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Effect.cs @@ -212,65 +212,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(18)] void GetOutput(ID2D1Image** outputImage); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPropertyCount; - - [NativeTypeName("HRESULT (UINT32, PWSTR, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPropertyName; - - [NativeTypeName("UINT32 (UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPropertyNameLength; - - [NativeTypeName("D2D1_PROPERTY_TYPE (UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public new delegate* unmanaged[Stdcall] GetType; - - [NativeTypeName("UINT32 (PCWSTR) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPropertyIndex; - - [NativeTypeName("HRESULT (PCWSTR, D2D1_PROPERTY_TYPE, const BYTE *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetValueByName1; - - [NativeTypeName("HRESULT (UINT32, D2D1_PROPERTY_TYPE, const BYTE *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetValue1; - - [NativeTypeName("HRESULT (PCWSTR, D2D1_PROPERTY_TYPE, BYTE *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetValueByName1; - - [NativeTypeName("HRESULT (UINT32, D2D1_PROPERTY_TYPE, BYTE *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetValue1; - - [NativeTypeName("UINT32 (UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetValueSize; - - [NativeTypeName("HRESULT (UINT32, ID2D1Properties **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSubProperties; - - [NativeTypeName("void (UINT32, ID2D1Image *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetInput; - - [NativeTypeName("HRESULT (UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetInputCount; - - [NativeTypeName("void (UINT32, ID2D1Image **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetInput; - - [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetInputCount; - - [NativeTypeName("void (ID2D1Image **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetOutput; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1GdiMetafile.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1GdiMetafile.cs index da8b0ede..a4bf1e14 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1GdiMetafile.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1GdiMetafile.cs @@ -71,26 +71,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(5)] HRESULT GetBounds([NativeTypeName("D2D1_RECT_F *")] D2D_RECT_F* bounds); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("HRESULT (ID2D1GdiMetafileSink *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Stream; - - [NativeTypeName("HRESULT (D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBounds; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1GdiMetafileSink.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1GdiMetafileSink.cs index 12c7b44e..732bb973 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1GdiMetafileSink.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1GdiMetafileSink.cs @@ -54,20 +54,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(3)] HRESULT ProcessRecord([NativeTypeName("DWORD")] uint recordType, [NativeTypeName("const void *")] void* recordData, [NativeTypeName("DWORD")] uint recordDataSize); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (DWORD, const void *, DWORD) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ProcessRecord; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1GradientStopCollection1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1GradientStopCollection1.cs index dd0fc95d..9fe4b8f3 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1GradientStopCollection1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1GradientStopCollection1.cs @@ -128,47 +128,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(12)] D2D1_COLOR_INTERPOLATION_MODE GetColorInterpolationMode(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGradientStopCount; - - [NativeTypeName("void (D2D1_GRADIENT_STOP *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGradientStops; - - [NativeTypeName("D2D1_GAMMA () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetColorInterpolationGamma; - - [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetExtendMode; - - [NativeTypeName("void (D2D1_GRADIENT_STOP *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGradientStops1; - - [NativeTypeName("D2D1_COLOR_SPACE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPreInterpolationSpace; - - [NativeTypeName("D2D1_COLOR_SPACE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPostInterpolationSpace; - - [NativeTypeName("D2D1_BUFFER_PRECISION () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBufferPrecision; - - [NativeTypeName("D2D1_COLOR_INTERPOLATION_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetColorInterpolationMode; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1ImageBrush.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1ImageBrush.cs index 9dabb799..93baa319 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1ImageBrush.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1ImageBrush.cs @@ -177,62 +177,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(17)] void GetSourceRectangle([NativeTypeName("D2D1_RECT_F *")] D2D_RECT_F* sourceRectangle); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void (ID2D1Factory **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFactory; - - [NativeTypeName("void (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetOpacity; - - [NativeTypeName("void (const D2D1_MATRIX_3X2_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTransform; - - [NativeTypeName("FLOAT () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetOpacity; - - [NativeTypeName("void (D2D1_MATRIX_3X2_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTransform; - - [NativeTypeName("void (ID2D1Image *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetImage; - - [NativeTypeName("void (D2D1_EXTEND_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetExtendModeX; - - [NativeTypeName("void (D2D1_EXTEND_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetExtendModeY; - - [NativeTypeName("void (D2D1_INTERPOLATION_MODE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetInterpolationMode; - - [NativeTypeName("void (const D2D1_RECT_F *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetSourceRectangle; - - [NativeTypeName("void (ID2D1Image **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetImage; - - [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetExtendModeX; - - [NativeTypeName("D2D1_EXTEND_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetExtendModeY; - - [NativeTypeName("D2D1_INTERPOLATION_MODE () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetInterpolationMode; - - [NativeTypeName("void (D2D1_RECT_F *) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSourceRectangle; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1PrintControl.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1PrintControl.cs index cbc4156e..83a294a6 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1PrintControl.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1PrintControl.cs @@ -62,23 +62,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(4)] HRESULT Close(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (ID2D1CommandList *, D2D_SIZE_F, IStream *, D2D1_TAG *, D2D1_TAG *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddPage; - - [NativeTypeName("HRESULT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Close; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Properties.cs b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Properties.cs index afa4202f..92827167 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Properties.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d2d1_1/ID2D1Properties.cs @@ -181,50 +181,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(13)] HRESULT GetSubProperties([NativeTypeName("UINT32")] uint index, ID2D1Properties** subProperties); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("UINT32 () const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPropertyCount; - - [NativeTypeName("HRESULT (UINT32, PWSTR, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPropertyName; - - [NativeTypeName("UINT32 (UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPropertyNameLength; - - [NativeTypeName("D2D1_PROPERTY_TYPE (UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public new delegate* unmanaged[Stdcall] GetType; - - [NativeTypeName("UINT32 (PCWSTR) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPropertyIndex; - - [NativeTypeName("HRESULT (PCWSTR, D2D1_PROPERTY_TYPE, const BYTE *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetValueByName1; - - [NativeTypeName("HRESULT (UINT32, D2D1_PROPERTY_TYPE, const BYTE *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetValue1; - - [NativeTypeName("HRESULT (PCWSTR, D2D1_PROPERTY_TYPE, BYTE *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetValueByName1; - - [NativeTypeName("HRESULT (UINT32, D2D1_PROPERTY_TYPE, BYTE *, UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetValue1; - - [NativeTypeName("UINT32 (UINT32) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetValueSize; - - [NativeTypeName("HRESULT (UINT32, ID2D1Properties **) const __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSubProperties; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandAllocator.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandAllocator.cs index f4b4e139..e1b28300 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandAllocator.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandAllocator.cs @@ -87,35 +87,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(8)] HRESULT Reset(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Reset; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandList.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandList.cs index c74c0ddf..2ae3b54f 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandList.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandList.cs @@ -87,35 +87,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(8)] D3D12_COMMAND_LIST_TYPE GetType(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[Stdcall] GetType; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs index c4086d69..ea76bc4c 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandQueue.cs @@ -188,65 +188,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(18)] D3D12_COMMAND_QUEUE_DESC GetDesc(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("void (ID3D12Resource *, UINT, const D3D12_TILED_RESOURCE_COORDINATE *, const D3D12_TILE_REGION_SIZE *, ID3D12Heap *, UINT, const D3D12_TILE_RANGE_FLAGS *, const UINT *, const UINT *, D3D12_TILE_MAPPING_FLAGS) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] UpdateTileMappings; - - [NativeTypeName("void (ID3D12Resource *, const D3D12_TILED_RESOURCE_COORDINATE *, ID3D12Resource *, const D3D12_TILED_RESOURCE_COORDINATE *, const D3D12_TILE_REGION_SIZE *, D3D12_TILE_MAPPING_FLAGS) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyTileMappings; - - [NativeTypeName("void (UINT, ID3D12CommandList *const *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ExecuteCommandLists; - - [NativeTypeName("void (UINT, const void *, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetMarker; - - [NativeTypeName("void (UINT, const void *, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] BeginEvent; - - [NativeTypeName("void () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EndEvent; - - [NativeTypeName("HRESULT (ID3D12Fence *, UINT64) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Signal; - - [NativeTypeName("HRESULT (ID3D12Fence *, UINT64) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Wait; - - [NativeTypeName("HRESULT (UINT64 *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTimestampFrequency; - - [NativeTypeName("HRESULT (UINT64 *, UINT64 *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetClockCalibration; - - [NativeTypeName("D3D12_COMMAND_QUEUE_DESC () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandSignature.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandSignature.cs index 283cd2ff..f9e9b87a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandSignature.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12CommandSignature.cs @@ -78,32 +78,5 @@ namespace TerraFX.Interop.DirectX public interface Interface : ID3D12Pageable.Interface { } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs index 1796b377..4b279607 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DescriptorHeap.cs @@ -110,41 +110,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(10)] D3D12_GPU_DESCRIPTOR_HANDLE GetGPUDescriptorHandleForHeapStart(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("D3D12_DESCRIPTOR_HEAP_DESC () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - - [NativeTypeName("D3D12_CPU_DESCRIPTOR_HANDLE () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCPUDescriptorHandleForHeapStart; - - [NativeTypeName("D3D12_GPU_DESCRIPTOR_HANDLE () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGPUDescriptorHandleForHeapStart; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Device.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Device.cs index 4fea6be8..24a808a2 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Device.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Device.cs @@ -443,140 +443,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(43)] LUID GetAdapterLuid(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetNodeCount; - - [NativeTypeName("HRESULT (const D3D12_COMMAND_QUEUE_DESC *, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateCommandQueue; - - [NativeTypeName("HRESULT (D3D12_COMMAND_LIST_TYPE, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateCommandAllocator; - - [NativeTypeName("HRESULT (const D3D12_GRAPHICS_PIPELINE_STATE_DESC *, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateGraphicsPipelineState; - - [NativeTypeName("HRESULT (const D3D12_COMPUTE_PIPELINE_STATE_DESC *, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateComputePipelineState; - - [NativeTypeName("HRESULT (UINT, D3D12_COMMAND_LIST_TYPE, ID3D12CommandAllocator *, ID3D12PipelineState *, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateCommandList; - - [NativeTypeName("HRESULT (D3D12_FEATURE, void *, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CheckFeatureSupport; - - [NativeTypeName("HRESULT (const D3D12_DESCRIPTOR_HEAP_DESC *, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDescriptorHeap; - - [NativeTypeName("UINT (D3D12_DESCRIPTOR_HEAP_TYPE) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDescriptorHandleIncrementSize; - - [NativeTypeName("HRESULT (UINT, const void *, SIZE_T, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateRootSignature; - - [NativeTypeName("void (const D3D12_CONSTANT_BUFFER_VIEW_DESC *, D3D12_CPU_DESCRIPTOR_HANDLE) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateConstantBufferView; - - [NativeTypeName("void (ID3D12Resource *, const D3D12_SHADER_RESOURCE_VIEW_DESC *, D3D12_CPU_DESCRIPTOR_HANDLE) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateShaderResourceView; - - [NativeTypeName("void (ID3D12Resource *, ID3D12Resource *, const D3D12_UNORDERED_ACCESS_VIEW_DESC *, D3D12_CPU_DESCRIPTOR_HANDLE) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateUnorderedAccessView; - - [NativeTypeName("void (ID3D12Resource *, const D3D12_RENDER_TARGET_VIEW_DESC *, D3D12_CPU_DESCRIPTOR_HANDLE) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateRenderTargetView; - - [NativeTypeName("void (ID3D12Resource *, const D3D12_DEPTH_STENCIL_VIEW_DESC *, D3D12_CPU_DESCRIPTOR_HANDLE) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDepthStencilView; - - [NativeTypeName("void (const D3D12_SAMPLER_DESC *, D3D12_CPU_DESCRIPTOR_HANDLE) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSampler; - - [NativeTypeName("void (UINT, const D3D12_CPU_DESCRIPTOR_HANDLE *, const UINT *, UINT, const D3D12_CPU_DESCRIPTOR_HANDLE *, const UINT *, D3D12_DESCRIPTOR_HEAP_TYPE) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyDescriptors; - - [NativeTypeName("void (UINT, D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_DESCRIPTOR_HEAP_TYPE) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyDescriptorsSimple; - - [NativeTypeName("D3D12_RESOURCE_ALLOCATION_INFO (UINT, UINT, const D3D12_RESOURCE_DESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetResourceAllocationInfo; - - [NativeTypeName("D3D12_HEAP_PROPERTIES (UINT, D3D12_HEAP_TYPE) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCustomHeapProperties; - - [NativeTypeName("HRESULT (const D3D12_HEAP_PROPERTIES *, D3D12_HEAP_FLAGS, const D3D12_RESOURCE_DESC *, D3D12_RESOURCE_STATES, const D3D12_CLEAR_VALUE *, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateCommittedResource; - - [NativeTypeName("HRESULT (const D3D12_HEAP_DESC *, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateHeap; - - [NativeTypeName("HRESULT (ID3D12Heap *, UINT64, const D3D12_RESOURCE_DESC *, D3D12_RESOURCE_STATES, const D3D12_CLEAR_VALUE *, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreatePlacedResource; - - [NativeTypeName("HRESULT (const D3D12_RESOURCE_DESC *, D3D12_RESOURCE_STATES, const D3D12_CLEAR_VALUE *, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateReservedResource; - - [NativeTypeName("HRESULT (ID3D12DeviceChild *, const SECURITY_ATTRIBUTES *, DWORD, LPCWSTR, HANDLE *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateSharedHandle; - - [NativeTypeName("HRESULT (HANDLE, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] OpenSharedHandle; - - [NativeTypeName("HRESULT (LPCWSTR, DWORD, HANDLE *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] OpenSharedHandleByName; - - [NativeTypeName("HRESULT (UINT, ID3D12Pageable *const *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] MakeResident; - - [NativeTypeName("HRESULT (UINT, ID3D12Pageable *const *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Evict; - - [NativeTypeName("HRESULT (UINT64, D3D12_FENCE_FLAGS, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateFence; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDeviceRemovedReason; - - [NativeTypeName("void (const D3D12_RESOURCE_DESC *, UINT, UINT, UINT64, D3D12_PLACED_SUBRESOURCE_FOOTPRINT *, UINT *, UINT64 *, UINT64 *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCopyableFootprints; - - [NativeTypeName("HRESULT (const D3D12_QUERY_HEAP_DESC *, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateQueryHeap; - - [NativeTypeName("HRESULT (BOOL) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetStablePowerState; - - [NativeTypeName("HRESULT (const D3D12_COMMAND_SIGNATURE_DESC *, ID3D12RootSignature *, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateCommandSignature; - - [NativeTypeName("void (ID3D12Resource *, UINT *, D3D12_PACKED_MIP_INFO *, D3D12_TILE_SHAPE *, UINT *, UINT, D3D12_SUBRESOURCE_TILING *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetResourceTiling; - - [NativeTypeName("LUID () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetAdapterLuid; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DeviceChild.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DeviceChild.cs index 2e1c5af4..67afcefa 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DeviceChild.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12DeviceChild.cs @@ -80,32 +80,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(7)] HRESULT GetDevice([NativeTypeName("const IID &")] Guid* riid, void** ppvDevice); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Fence.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Fence.cs index 68644cad..02fe09c6 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Fence.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Fence.cs @@ -109,41 +109,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(10)] HRESULT Signal([NativeTypeName("UINT64")] ulong Value); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("UINT64 () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCompletedValue; - - [NativeTypeName("HRESULT (UINT64, HANDLE) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetEventOnCompletion; - - [NativeTypeName("HRESULT (UINT64) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Signal; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs index a3c32cd4..e6dc5cc1 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs @@ -594,188 +594,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(59)] void ExecuteIndirect(ID3D12CommandSignature* pCommandSignature, uint MaxCommandCount, ID3D12Resource* pArgumentBuffer, [NativeTypeName("UINT64")] ulong ArgumentBufferOffset, ID3D12Resource* pCountBuffer, [NativeTypeName("UINT64")] ulong CountBufferOffset); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("D3D12_COMMAND_LIST_TYPE () __attribute__((stdcall))")] - public new delegate* unmanaged[Stdcall] GetType; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Close; - - [NativeTypeName("HRESULT (ID3D12CommandAllocator *, ID3D12PipelineState *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Reset; - - [NativeTypeName("void (ID3D12PipelineState *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ClearState; - - [NativeTypeName("void (UINT, UINT, UINT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawInstanced; - - [NativeTypeName("void (UINT, UINT, UINT, INT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawIndexedInstanced; - - [NativeTypeName("void (UINT, UINT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Dispatch; - - [NativeTypeName("void (ID3D12Resource *, UINT64, ID3D12Resource *, UINT64, UINT64) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyBufferRegion; - - [NativeTypeName("void (const D3D12_TEXTURE_COPY_LOCATION *, UINT, UINT, UINT, const D3D12_TEXTURE_COPY_LOCATION *, const D3D12_BOX *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyTextureRegion; - - [NativeTypeName("void (ID3D12Resource *, ID3D12Resource *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyResource; - - [NativeTypeName("void (ID3D12Resource *, const D3D12_TILED_RESOURCE_COORDINATE *, const D3D12_TILE_REGION_SIZE *, ID3D12Resource *, UINT64, D3D12_TILE_COPY_FLAGS) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyTiles; - - [NativeTypeName("void (ID3D12Resource *, UINT, ID3D12Resource *, UINT, DXGI_FORMAT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ResolveSubresource; - - [NativeTypeName("void (D3D12_PRIMITIVE_TOPOLOGY) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IASetPrimitiveTopology; - - [NativeTypeName("void (UINT, const D3D12_VIEWPORT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RSSetViewports; - - [NativeTypeName("void (UINT, const D3D12_RECT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RSSetScissorRects; - - [NativeTypeName("void (const FLOAT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] OMSetBlendFactor; - - [NativeTypeName("void (UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] OMSetStencilRef; - - [NativeTypeName("void (ID3D12PipelineState *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPipelineState; - - [NativeTypeName("void (UINT, const D3D12_RESOURCE_BARRIER *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ResourceBarrier; - - [NativeTypeName("void (ID3D12GraphicsCommandList *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ExecuteBundle; - - [NativeTypeName("void (UINT, ID3D12DescriptorHeap *const *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetDescriptorHeaps; - - [NativeTypeName("void (ID3D12RootSignature *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetComputeRootSignature; - - [NativeTypeName("void (ID3D12RootSignature *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetGraphicsRootSignature; - - [NativeTypeName("void (UINT, D3D12_GPU_DESCRIPTOR_HANDLE) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetComputeRootDescriptorTable; - - [NativeTypeName("void (UINT, D3D12_GPU_DESCRIPTOR_HANDLE) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetGraphicsRootDescriptorTable; - - [NativeTypeName("void (UINT, UINT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetComputeRoot32BitConstant; - - [NativeTypeName("void (UINT, UINT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetGraphicsRoot32BitConstant; - - [NativeTypeName("void (UINT, UINT, const void *, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetComputeRoot32BitConstants; - - [NativeTypeName("void (UINT, UINT, const void *, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetGraphicsRoot32BitConstants; - - [NativeTypeName("void (UINT, D3D12_GPU_VIRTUAL_ADDRESS) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetComputeRootConstantBufferView; - - [NativeTypeName("void (UINT, D3D12_GPU_VIRTUAL_ADDRESS) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetGraphicsRootConstantBufferView; - - [NativeTypeName("void (UINT, D3D12_GPU_VIRTUAL_ADDRESS) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetComputeRootShaderResourceView; - - [NativeTypeName("void (UINT, D3D12_GPU_VIRTUAL_ADDRESS) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetGraphicsRootShaderResourceView; - - [NativeTypeName("void (UINT, D3D12_GPU_VIRTUAL_ADDRESS) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetComputeRootUnorderedAccessView; - - [NativeTypeName("void (UINT, D3D12_GPU_VIRTUAL_ADDRESS) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetGraphicsRootUnorderedAccessView; - - [NativeTypeName("void (const D3D12_INDEX_BUFFER_VIEW *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IASetIndexBuffer; - - [NativeTypeName("void (UINT, UINT, const D3D12_VERTEX_BUFFER_VIEW *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IASetVertexBuffers; - - [NativeTypeName("void (UINT, UINT, const D3D12_STREAM_OUTPUT_BUFFER_VIEW *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SOSetTargets; - - [NativeTypeName("void (UINT, const D3D12_CPU_DESCRIPTOR_HANDLE *, BOOL, const D3D12_CPU_DESCRIPTOR_HANDLE *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] OMSetRenderTargets; - - [NativeTypeName("void (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_CLEAR_FLAGS, FLOAT, UINT8, UINT, const D3D12_RECT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ClearDepthStencilView; - - [NativeTypeName("void (D3D12_CPU_DESCRIPTOR_HANDLE, const FLOAT *, UINT, const D3D12_RECT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ClearRenderTargetView; - - [NativeTypeName("void (D3D12_GPU_DESCRIPTOR_HANDLE, D3D12_CPU_DESCRIPTOR_HANDLE, ID3D12Resource *, const UINT *, UINT, const D3D12_RECT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ClearUnorderedAccessViewUint; - - [NativeTypeName("void (D3D12_GPU_DESCRIPTOR_HANDLE, D3D12_CPU_DESCRIPTOR_HANDLE, ID3D12Resource *, const FLOAT *, UINT, const D3D12_RECT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ClearUnorderedAccessViewFloat; - - [NativeTypeName("void (ID3D12Resource *, const D3D12_DISCARD_REGION *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DiscardResource; - - [NativeTypeName("void (ID3D12QueryHeap *, D3D12_QUERY_TYPE, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] BeginQuery; - - [NativeTypeName("void (ID3D12QueryHeap *, D3D12_QUERY_TYPE, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EndQuery; - - [NativeTypeName("void (ID3D12QueryHeap *, D3D12_QUERY_TYPE, UINT, UINT, ID3D12Resource *, UINT64) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ResolveQueryData; - - [NativeTypeName("void (ID3D12Resource *, UINT64, D3D12_PREDICATION_OP) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPredication; - - [NativeTypeName("void (UINT, const void *, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetMarker; - - [NativeTypeName("void (UINT, const void *, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] BeginEvent; - - [NativeTypeName("void () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EndEvent; - - [NativeTypeName("void (ID3D12CommandSignature *, UINT, ID3D12Resource *, UINT64, ID3D12Resource *, UINT64) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ExecuteIndirect; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Heap.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Heap.cs index b28333d3..258cb9e2 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Heap.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Heap.cs @@ -88,35 +88,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(8)] D3D12_HEAP_DESC GetDesc(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("D3D12_HEAP_DESC () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Object.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Object.cs index 9593968a..6d18b11b 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Object.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Object.cs @@ -82,29 +82,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(6)] HRESULT SetName([NativeTypeName("LPCWSTR")] ushort* Name); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Pageable.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Pageable.cs index a5897e69..9fe46209 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Pageable.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Pageable.cs @@ -78,32 +78,5 @@ namespace TerraFX.Interop.DirectX public interface Interface : ID3D12DeviceChild.Interface { } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12PipelineState.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12PipelineState.cs index 59c5fb6f..cf0f9807 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12PipelineState.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12PipelineState.cs @@ -87,35 +87,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(8)] HRESULT GetCachedBlob(ID3DBlob** ppBlob); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("HRESULT (ID3DBlob **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCachedBlob; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12QueryHeap.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12QueryHeap.cs index bc98fa4a..f16104fb 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12QueryHeap.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12QueryHeap.cs @@ -78,32 +78,5 @@ namespace TerraFX.Interop.DirectX public interface Interface : ID3D12Pageable.Interface { } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Resource.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Resource.cs index 7b59a0cc..9cd00112 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Resource.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12Resource.cs @@ -150,53 +150,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(14)] HRESULT GetHeapProperties(D3D12_HEAP_PROPERTIES* pHeapProperties, D3D12_HEAP_FLAGS* pHeapFlags); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - - [NativeTypeName("HRESULT (UINT, const D3D12_RANGE *, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Map; - - [NativeTypeName("void (UINT, const D3D12_RANGE *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Unmap; - - [NativeTypeName("D3D12_RESOURCE_DESC () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - - [NativeTypeName("D3D12_GPU_VIRTUAL_ADDRESS () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGPUVirtualAddress; - - [NativeTypeName("HRESULT (UINT, const D3D12_BOX *, const void *, UINT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] WriteToSubresource; - - [NativeTypeName("HRESULT (void *, UINT, UINT, UINT, const D3D12_BOX *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ReadFromSubresource; - - [NativeTypeName("HRESULT (D3D12_HEAP_PROPERTIES *, D3D12_HEAP_FLAGS *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetHeapProperties; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12RootSignature.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12RootSignature.cs index a4bf3dc1..6d7c1199 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12RootSignature.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12/ID3D12RootSignature.cs @@ -78,32 +78,5 @@ namespace TerraFX.Interop.DirectX public interface Interface : ID3D12DeviceChild.Interface { } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const GUID &, UINT *, void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, UINT, const void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateData; - - [NativeTypeName("HRESULT (const GUID &, const IUnknown *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPrivateDataInterface; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetName; - - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDevice; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug.cs index 3c9fb4bb..faba426a 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug.cs @@ -52,20 +52,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(3)] void EnableDebugLayer(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnableDebugLayer; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs index 5b4eb72d..874a653e 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs @@ -72,26 +72,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(5)] void SetEnableSynchronizedCommandQueueValidation(BOOL Enable); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnableDebugLayer; - - [NativeTypeName("void (BOOL) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetEnableGPUBasedValidation; - - [NativeTypeName("void (BOOL) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetEnableSynchronizedCommandQueueValidation; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs index 63e18c40..65f60aa0 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs @@ -404,122 +404,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(37)] BOOL GetMuteDebugOutput(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (UINT64) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetMessageCountLimit; - - [NativeTypeName("void () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ClearStoredMessages; - - [NativeTypeName("HRESULT (UINT64, D3D12_MESSAGE *, SIZE_T *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMessage; - - [NativeTypeName("UINT64 () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetNumMessagesAllowedByStorageFilter; - - [NativeTypeName("UINT64 () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetNumMessagesDeniedByStorageFilter; - - [NativeTypeName("UINT64 () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetNumStoredMessages; - - [NativeTypeName("UINT64 () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetNumStoredMessagesAllowedByRetrievalFilter; - - [NativeTypeName("UINT64 () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetNumMessagesDiscardedByMessageCountLimit; - - [NativeTypeName("UINT64 () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMessageCountLimit; - - [NativeTypeName("HRESULT (D3D12_INFO_QUEUE_FILTER *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddStorageFilterEntries; - - [NativeTypeName("HRESULT (D3D12_INFO_QUEUE_FILTER *, SIZE_T *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetStorageFilter; - - [NativeTypeName("void () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ClearStorageFilter; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushEmptyStorageFilter; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushCopyOfStorageFilter; - - [NativeTypeName("HRESULT (D3D12_INFO_QUEUE_FILTER *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushStorageFilter; - - [NativeTypeName("void () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PopStorageFilter; - - [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetStorageFilterStackSize; - - [NativeTypeName("HRESULT (D3D12_INFO_QUEUE_FILTER *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRetrievalFilterEntries; - - [NativeTypeName("HRESULT (D3D12_INFO_QUEUE_FILTER *, SIZE_T *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRetrievalFilter; - - [NativeTypeName("void () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ClearRetrievalFilter; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushEmptyRetrievalFilter; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushCopyOfRetrievalFilter; - - [NativeTypeName("HRESULT (D3D12_INFO_QUEUE_FILTER *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PushRetrievalFilter; - - [NativeTypeName("void () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PopRetrievalFilter; - - [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRetrievalFilterStackSize; - - [NativeTypeName("HRESULT (D3D12_MESSAGE_CATEGORY, D3D12_MESSAGE_SEVERITY, D3D12_MESSAGE_ID, LPCSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddMessage; - - [NativeTypeName("HRESULT (D3D12_MESSAGE_SEVERITY, LPCSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddApplicationMessage; - - [NativeTypeName("HRESULT (D3D12_MESSAGE_CATEGORY, BOOL) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetBreakOnCategory; - - [NativeTypeName("HRESULT (D3D12_MESSAGE_SEVERITY, BOOL) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetBreakOnSeverity; - - [NativeTypeName("HRESULT (D3D12_MESSAGE_ID, BOOL) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetBreakOnID; - - [NativeTypeName("BOOL (D3D12_MESSAGE_CATEGORY) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBreakOnCategory; - - [NativeTypeName("BOOL (D3D12_MESSAGE_SEVERITY) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBreakOnSeverity; - - [NativeTypeName("BOOL (D3D12_MESSAGE_ID) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBreakOnID; - - [NativeTypeName("void (BOOL) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetMuteDebugOutput; - - [NativeTypeName("BOOL () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMuteDebugOutput; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs index 27253a4a..3f26be84 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs @@ -234,74 +234,5 @@ namespace TerraFX.Interop.DirectX [return: NativeTypeName("UINT64")] ulong GetRequiresFlags(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (D3D12_SHADER_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - - [NativeTypeName("ID3D12ShaderReflectionConstantBuffer *(UINT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetConstantBufferByIndex; - - [NativeTypeName("ID3D12ShaderReflectionConstantBuffer *(LPCSTR) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetConstantBufferByName; - - [NativeTypeName("HRESULT (UINT, D3D12_SHADER_INPUT_BIND_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetResourceBindingDesc; - - [NativeTypeName("HRESULT (UINT, D3D12_SIGNATURE_PARAMETER_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetInputParameterDesc; - - [NativeTypeName("HRESULT (UINT, D3D12_SIGNATURE_PARAMETER_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetOutputParameterDesc; - - [NativeTypeName("HRESULT (UINT, D3D12_SIGNATURE_PARAMETER_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPatchConstantParameterDesc; - - [NativeTypeName("ID3D12ShaderReflectionVariable *(LPCSTR) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetVariableByName; - - [NativeTypeName("HRESULT (LPCSTR, D3D12_SHADER_INPUT_BIND_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetResourceBindingDescByName; - - [NativeTypeName("UINT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMovInstructionCount; - - [NativeTypeName("UINT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMovcInstructionCount; - - [NativeTypeName("UINT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetConversionInstructionCount; - - [NativeTypeName("UINT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBitwiseInstructionCount; - - [NativeTypeName("D3D_PRIMITIVE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGSInputPrimitive; - - [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsSampleFrequencyShader; - - [NativeTypeName("UINT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetNumInterfaceSlots; - - [NativeTypeName("HRESULT (enum D3D_FEATURE_LEVEL *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMinFeatureLevel; - - [NativeTypeName("UINT (UINT *, UINT *, UINT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetThreadGroupSize; - - [NativeTypeName("UINT64 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRequiresFlags; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionConstantBuffer.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionConstantBuffer.cs index 61bd074a..dac7d80c 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionConstantBuffer.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionConstantBuffer.cs @@ -46,17 +46,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(2)] ID3D12ShaderReflectionVariable* GetVariableByName([NativeTypeName("LPCSTR")] sbyte* Name); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (D3D12_SHADER_BUFFER_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - - [NativeTypeName("ID3D12ShaderReflectionVariable *(UINT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetVariableByIndex; - - [NativeTypeName("ID3D12ShaderReflectionVariable *(LPCSTR) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetVariableByName; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionType.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionType.cs index 5d05431b..4425e2d6 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionType.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionType.cs @@ -128,41 +128,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(10)] HRESULT ImplementsInterface(ID3D12ShaderReflectionType* pBase); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (D3D12_SHADER_TYPE_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - - [NativeTypeName("ID3D12ShaderReflectionType *(UINT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMemberTypeByIndex; - - [NativeTypeName("ID3D12ShaderReflectionType *(LPCSTR) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMemberTypeByName; - - [NativeTypeName("LPCSTR (UINT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMemberTypeName; - - [NativeTypeName("HRESULT (ID3D12ShaderReflectionType *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsEqual; - - [NativeTypeName("ID3D12ShaderReflectionType *() __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSubType; - - [NativeTypeName("ID3D12ShaderReflectionType *() __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBaseClass; - - [NativeTypeName("UINT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetNumInterfaces; - - [NativeTypeName("ID3D12ShaderReflectionType *(UINT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetInterfaceByIndex; - - [NativeTypeName("HRESULT (ID3D12ShaderReflectionType *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsOfType; - - [NativeTypeName("HRESULT (ID3D12ShaderReflectionType *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ImplementsInterface; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionVariable.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionVariable.cs index afab94c9..a88fcc73 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionVariable.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3d12shader/ID3D12ShaderReflectionVariable.cs @@ -56,20 +56,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(3)] uint GetInterfaceSlot(uint uArrayIndex); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (D3D12_SHADER_VARIABLE_DESC *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesc; - - [NativeTypeName("ID3D12ShaderReflectionType *() __attribute__((nothrow)) __attribute__((stdcall))")] - public new delegate* unmanaged[Stdcall] GetType; - - [NativeTypeName("ID3D12ShaderReflectionConstantBuffer *() __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBuffer; - - [NativeTypeName("UINT (UINT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetInterfaceSlot; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/ID3DBlob.cs b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/ID3DBlob.cs index f42018a3..3dc2ad7f 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/ID3DBlob.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/d3dcommon/ID3DBlob.cs @@ -66,23 +66,5 @@ namespace TerraFX.Interop.DirectX [return: NativeTypeName("SIZE_T")] nuint GetBufferSize(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("LPVOID () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBufferPointer; - - [NativeTypeName("SIZE_T () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBufferSize; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFont.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFont.cs index fef2ffb0..26116225 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFont.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFont.cs @@ -152,50 +152,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(13)] HRESULT CreateFontFace(IDWriteFontFace** fontFace); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (IDWriteFontFamily **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontFamily; - - [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWeight; - - [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetStretch; - - [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetStyle; - - [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsSymbolFont; - - [NativeTypeName("HRESULT (IDWriteLocalizedStrings **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFaceNames; - - [NativeTypeName("HRESULT (DWRITE_INFORMATIONAL_STRING_ID, IDWriteLocalizedStrings **, BOOL *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetInformationalStrings; - - [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSimulations; - - [NativeTypeName("void (DWRITE_FONT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMetrics; - - [NativeTypeName("HRESULT (UINT32, BOOL *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] HasCharacter; - - [NativeTypeName("HRESULT (IDWriteFontFace **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateFontFace; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontCollection.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontCollection.cs index a9eb3475..9d100488 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontCollection.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontCollection.cs @@ -84,29 +84,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(6)] HRESULT GetFontFromFontFace(IDWriteFontFace* fontFace, IDWriteFont** font); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontFamilyCount; - - [NativeTypeName("HRESULT (UINT32, IDWriteFontFamily **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontFamily; - - [NativeTypeName("HRESULT (const WCHAR *, UINT32 *, BOOL *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FindFamilyName; - - [NativeTypeName("HRESULT (IDWriteFontFace *, IDWriteFont **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontFromFontFace; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFace.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFace.cs index d112d1aa..4b103288 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFace.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFace.cs @@ -196,62 +196,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(17)] HRESULT GetGdiCompatibleGlyphMetrics(float emSize, float pixelsPerDip, [NativeTypeName("const DWRITE_MATRIX *")] DWRITE_MATRIX* transform, BOOL useGdiNatural, [NativeTypeName("const UINT16 *")] ushort* glyphIndices, [NativeTypeName("UINT32")] uint glyphCount, DWRITE_GLYPH_METRICS* glyphMetrics, [Optional] BOOL isSideways); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("DWRITE_FONT_FACE_TYPE () __attribute__((nothrow)) __attribute__((stdcall))")] - public new delegate* unmanaged[Stdcall] GetType; - - [NativeTypeName("HRESULT (UINT32 *, IDWriteFontFile **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFiles; - - [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetIndex; - - [NativeTypeName("DWRITE_FONT_SIMULATIONS () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSimulations; - - [NativeTypeName("BOOL () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsSymbolFont; - - [NativeTypeName("void (DWRITE_FONT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMetrics; - - [NativeTypeName("UINT16 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGlyphCount; - - [NativeTypeName("HRESULT (const UINT16 *, UINT32, DWRITE_GLYPH_METRICS *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDesignGlyphMetrics; - - [NativeTypeName("HRESULT (const UINT32 *, UINT32, UINT16 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGlyphIndices; - - [NativeTypeName("HRESULT (UINT32, const void **, UINT32 *, void **, BOOL *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] TryGetFontTable; - - [NativeTypeName("void (void *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ReleaseFontTable; - - [NativeTypeName("HRESULT (FLOAT, const UINT16 *, const FLOAT *, const DWRITE_GLYPH_OFFSET *, UINT32, BOOL, BOOL, IDWriteGeometrySink *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGlyphRunOutline; - - [NativeTypeName("HRESULT (FLOAT, FLOAT, DWRITE_MEASURING_MODE, IDWriteRenderingParams *, DWRITE_RENDERING_MODE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRecommendedRenderingMode; - - [NativeTypeName("HRESULT (FLOAT, FLOAT, const DWRITE_MATRIX *, DWRITE_FONT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGdiCompatibleMetrics; - - [NativeTypeName("HRESULT (FLOAT, FLOAT, const DWRITE_MATRIX *, BOOL, const UINT16 *, UINT32, DWRITE_GLYPH_METRICS *, BOOL) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGdiCompatibleGlyphMetrics; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFamily.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFamily.cs index aa1595ee..95933aed 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFamily.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFamily.cs @@ -94,35 +94,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(8)] HRESULT GetMatchingFonts(DWRITE_FONT_WEIGHT weight, DWRITE_FONT_STRETCH stretch, DWRITE_FONT_STYLE style, IDWriteFontList** matchingFonts); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (IDWriteFontCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontCollection; - - [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontCount; - - [NativeTypeName("HRESULT (UINT32, IDWriteFont **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFont; - - [NativeTypeName("HRESULT (IDWriteLocalizedStrings **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFamilyNames; - - [NativeTypeName("HRESULT (DWRITE_FONT_WEIGHT, DWRITE_FONT_STRETCH, DWRITE_FONT_STYLE, IDWriteFont **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFirstMatchingFont; - - [NativeTypeName("HRESULT (DWRITE_FONT_WEIGHT, DWRITE_FONT_STRETCH, DWRITE_FONT_STYLE, IDWriteFontList **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMatchingFonts; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFile.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFile.cs index 56686ac6..7695ce96 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFile.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFile.cs @@ -72,26 +72,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(5)] HRESULT Analyze(BOOL* isSupportedFontType, DWRITE_FONT_FILE_TYPE* fontFileType, DWRITE_FONT_FACE_TYPE* fontFaceType, [NativeTypeName("UINT32 *")] uint* numberOfFaces); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const void **, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetReferenceKey; - - [NativeTypeName("HRESULT (IDWriteFontFileLoader **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLoader; - - [NativeTypeName("HRESULT (BOOL *, DWRITE_FONT_FILE_TYPE *, DWRITE_FONT_FACE_TYPE *, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Analyze; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFileLoader.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFileLoader.cs index 215ff171..907acb40 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFileLoader.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFileLoader.cs @@ -52,20 +52,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(3)] HRESULT CreateStreamFromKey([NativeTypeName("const void *")] void* fontFileReferenceKey, [NativeTypeName("UINT32")] uint fontFileReferenceKeySize, IDWriteFontFileStream** fontFileStream); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const void *, UINT32, IDWriteFontFileStream **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateStreamFromKey; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFileStream.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFileStream.cs index ffe6845c..4e6737f8 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFileStream.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontFileStream.cs @@ -82,29 +82,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(6)] HRESULT GetLastWriteTime([NativeTypeName("UINT64 *")] ulong* lastWriteTime); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const void **, UINT64, UINT64, void **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ReadFileFragment; - - [NativeTypeName("void (void *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ReleaseFileFragment; - - [NativeTypeName("HRESULT (UINT64 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFileSize; - - [NativeTypeName("HRESULT (UINT64 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLastWriteTime; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontList.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontList.cs index 7878e30b..bf9f2d48 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontList.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteFontList.cs @@ -74,26 +74,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(5)] HRESULT GetFont([NativeTypeName("UINT32")] uint index, IDWriteFont** font); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (IDWriteFontCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontCollection; - - [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontCount; - - [NativeTypeName("HRESULT (UINT32, IDWriteFont **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFont; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteInlineObject.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteInlineObject.cs index 01d29c81..949a0ed5 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteInlineObject.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteInlineObject.cs @@ -82,29 +82,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(6)] HRESULT GetBreakConditions(DWRITE_BREAK_CONDITION* breakConditionBefore, DWRITE_BREAK_CONDITION* breakConditionAfter); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (void *, IDWriteTextRenderer *, FLOAT, FLOAT, BOOL, BOOL, IUnknown *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Draw; - - [NativeTypeName("HRESULT (DWRITE_INLINE_OBJECT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMetrics; - - [NativeTypeName("HRESULT (DWRITE_OVERHANG_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetOverhangMetrics; - - [NativeTypeName("HRESULT (DWRITE_BREAK_CONDITION *, DWRITE_BREAK_CONDITION *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBreakConditions; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteLocalizedStrings.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteLocalizedStrings.cs index f446f4a8..ce2c218b 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteLocalizedStrings.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteLocalizedStrings.cs @@ -104,35 +104,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(8)] HRESULT GetString([NativeTypeName("UINT32")] uint index, [NativeTypeName("WCHAR *")] ushort* stringBuffer, [NativeTypeName("UINT32")] uint size); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCount; - - [NativeTypeName("HRESULT (const WCHAR *, UINT32 *, BOOL *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FindLocaleName; - - [NativeTypeName("HRESULT (UINT32, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLocaleNameLength; - - [NativeTypeName("HRESULT (UINT32, WCHAR *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLocaleName; - - [NativeTypeName("HRESULT (UINT32, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetStringLength; - - [NativeTypeName("HRESULT (UINT32, WCHAR *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetString; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWritePixelSnapping.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWritePixelSnapping.cs index 6680d397..f39a3c8d 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWritePixelSnapping.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWritePixelSnapping.cs @@ -72,26 +72,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(5)] HRESULT GetPixelsPerDip(void* clientDrawingContext, float* pixelsPerDip); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (void *, BOOL *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsPixelSnappingDisabled; - - [NativeTypeName("HRESULT (void *, DWRITE_MATRIX *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCurrentTransform; - - [NativeTypeName("HRESULT (void *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelsPerDip; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteRenderingParams.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteRenderingParams.cs index 69fd7433..fd471f79 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteRenderingParams.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteRenderingParams.cs @@ -92,32 +92,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(7)] DWRITE_RENDERING_MODE GetRenderingMode(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGamma; - - [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetEnhancedContrast; - - [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetClearTypeLevel; - - [NativeTypeName("DWRITE_PIXEL_GEOMETRY () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelGeometry; - - [NativeTypeName("DWRITE_RENDERING_MODE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRenderingMode; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTextFormat.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTextFormat.cs index 2e00d59e..70eec518 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTextFormat.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTextFormat.cs @@ -296,92 +296,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(27)] HRESULT GetLocaleName([NativeTypeName("WCHAR *")] ushort* localeName, [NativeTypeName("UINT32")] uint nameSize); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (DWRITE_TEXT_ALIGNMENT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextAlignment; - - [NativeTypeName("HRESULT (DWRITE_PARAGRAPH_ALIGNMENT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetParagraphAlignment; - - [NativeTypeName("HRESULT (DWRITE_WORD_WRAPPING) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetWordWrapping; - - [NativeTypeName("HRESULT (DWRITE_READING_DIRECTION) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetReadingDirection; - - [NativeTypeName("HRESULT (DWRITE_FLOW_DIRECTION) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetFlowDirection; - - [NativeTypeName("HRESULT (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetIncrementalTabStop; - - [NativeTypeName("HRESULT (const DWRITE_TRIMMING *, IDWriteInlineObject *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTrimming; - - [NativeTypeName("HRESULT (DWRITE_LINE_SPACING_METHOD, FLOAT, FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetLineSpacing; - - [NativeTypeName("DWRITE_TEXT_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTextAlignment; - - [NativeTypeName("DWRITE_PARAGRAPH_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParagraphAlignment; - - [NativeTypeName("DWRITE_WORD_WRAPPING () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWordWrapping; - - [NativeTypeName("DWRITE_READING_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetReadingDirection; - - [NativeTypeName("DWRITE_FLOW_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFlowDirection; - - [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetIncrementalTabStop; - - [NativeTypeName("HRESULT (DWRITE_TRIMMING *, IDWriteInlineObject **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTrimming; - - [NativeTypeName("HRESULT (DWRITE_LINE_SPACING_METHOD *, FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLineSpacing; - - [NativeTypeName("HRESULT (IDWriteFontCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontCollection; - - [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontFamilyNameLength; - - [NativeTypeName("HRESULT (WCHAR *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontFamilyName; - - [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontWeight; - - [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontStyle; - - [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontStretch; - - [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontSize; - - [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLocaleNameLength; - - [NativeTypeName("HRESULT (WCHAR *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLocaleName; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTextLayout.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTextLayout.cs index a372a9d5..afa35e45 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTextLayout.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTextLayout.cs @@ -609,209 +609,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(66)] HRESULT HitTestTextRange([NativeTypeName("UINT32")] uint textPosition, [NativeTypeName("UINT32")] uint textLength, float originX, float originY, DWRITE_HIT_TEST_METRICS* hitTestMetrics, [NativeTypeName("UINT32")] uint maxHitTestMetricsCount, [NativeTypeName("UINT32 *")] uint* actualHitTestMetricsCount); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (DWRITE_TEXT_ALIGNMENT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTextAlignment; - - [NativeTypeName("HRESULT (DWRITE_PARAGRAPH_ALIGNMENT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetParagraphAlignment; - - [NativeTypeName("HRESULT (DWRITE_WORD_WRAPPING) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetWordWrapping; - - [NativeTypeName("HRESULT (DWRITE_READING_DIRECTION) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetReadingDirection; - - [NativeTypeName("HRESULT (DWRITE_FLOW_DIRECTION) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetFlowDirection; - - [NativeTypeName("HRESULT (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetIncrementalTabStop; - - [NativeTypeName("HRESULT (const DWRITE_TRIMMING *, IDWriteInlineObject *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTrimming; - - [NativeTypeName("HRESULT (DWRITE_LINE_SPACING_METHOD, FLOAT, FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetLineSpacing; - - [NativeTypeName("DWRITE_TEXT_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTextAlignment; - - [NativeTypeName("DWRITE_PARAGRAPH_ALIGNMENT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetParagraphAlignment; - - [NativeTypeName("DWRITE_WORD_WRAPPING () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetWordWrapping; - - [NativeTypeName("DWRITE_READING_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetReadingDirection; - - [NativeTypeName("DWRITE_FLOW_DIRECTION () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFlowDirection; - - [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetIncrementalTabStop; - - [NativeTypeName("HRESULT (DWRITE_TRIMMING *, IDWriteInlineObject **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTrimming; - - [NativeTypeName("HRESULT (DWRITE_LINE_SPACING_METHOD *, FLOAT *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLineSpacing; - - [NativeTypeName("HRESULT (IDWriteFontCollection **) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontCollection; - - [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontFamilyNameLength; - - [NativeTypeName("HRESULT (WCHAR *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontFamilyName; - - [NativeTypeName("DWRITE_FONT_WEIGHT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontWeight; - - [NativeTypeName("DWRITE_FONT_STYLE () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontStyle; - - [NativeTypeName("DWRITE_FONT_STRETCH () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontStretch; - - [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontSize; - - [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLocaleNameLength; - - [NativeTypeName("HRESULT (WCHAR *, UINT32) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLocaleName; - - [NativeTypeName("HRESULT (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetMaxWidth; - - [NativeTypeName("HRESULT (FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetMaxHeight; - - [NativeTypeName("HRESULT (IDWriteFontCollection *, DWRITE_TEXT_RANGE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetFontCollection; - - [NativeTypeName("HRESULT (const WCHAR *, DWRITE_TEXT_RANGE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetFontFamilyName; - - [NativeTypeName("HRESULT (DWRITE_FONT_WEIGHT, DWRITE_TEXT_RANGE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetFontWeight; - - [NativeTypeName("HRESULT (DWRITE_FONT_STYLE, DWRITE_TEXT_RANGE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetFontStyle; - - [NativeTypeName("HRESULT (DWRITE_FONT_STRETCH, DWRITE_TEXT_RANGE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetFontStretch; - - [NativeTypeName("HRESULT (FLOAT, DWRITE_TEXT_RANGE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetFontSize; - - [NativeTypeName("HRESULT (BOOL, DWRITE_TEXT_RANGE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetUnderline; - - [NativeTypeName("HRESULT (BOOL, DWRITE_TEXT_RANGE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetStrikethrough; - - [NativeTypeName("HRESULT (IUnknown *, DWRITE_TEXT_RANGE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetDrawingEffect; - - [NativeTypeName("HRESULT (IDWriteInlineObject *, DWRITE_TEXT_RANGE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetInlineObject; - - [NativeTypeName("HRESULT (IDWriteTypography *, DWRITE_TEXT_RANGE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetTypography; - - [NativeTypeName("HRESULT (const WCHAR *, DWRITE_TEXT_RANGE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetLocaleName; - - [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMaxWidth; - - [NativeTypeName("FLOAT () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMaxHeight; - - [NativeTypeName("HRESULT (UINT32, IDWriteFontCollection **, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontCollection1; - - [NativeTypeName("HRESULT (UINT32, UINT32 *, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontFamilyNameLength1; - - [NativeTypeName("HRESULT (UINT32, WCHAR *, UINT32, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontFamilyName1; - - [NativeTypeName("HRESULT (UINT32, DWRITE_FONT_WEIGHT *, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontWeight1; - - [NativeTypeName("HRESULT (UINT32, DWRITE_FONT_STYLE *, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontStyle1; - - [NativeTypeName("HRESULT (UINT32, DWRITE_FONT_STRETCH *, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontStretch1; - - [NativeTypeName("HRESULT (UINT32, FLOAT *, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontSize1; - - [NativeTypeName("HRESULT (UINT32, BOOL *, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetUnderline; - - [NativeTypeName("HRESULT (UINT32, BOOL *, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetStrikethrough; - - [NativeTypeName("HRESULT (UINT32, IUnknown **, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDrawingEffect; - - [NativeTypeName("HRESULT (UINT32, IDWriteInlineObject **, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetInlineObject; - - [NativeTypeName("HRESULT (UINT32, IDWriteTypography **, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTypography; - - [NativeTypeName("HRESULT (UINT32, UINT32 *, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLocaleNameLength1; - - [NativeTypeName("HRESULT (UINT32, WCHAR *, UINT32, DWRITE_TEXT_RANGE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLocaleName1; - - [NativeTypeName("HRESULT (void *, IDWriteTextRenderer *, FLOAT, FLOAT) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Draw; - - [NativeTypeName("HRESULT (DWRITE_LINE_METRICS *, UINT32, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLineMetrics; - - [NativeTypeName("HRESULT (DWRITE_TEXT_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMetrics; - - [NativeTypeName("HRESULT (DWRITE_OVERHANG_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetOverhangMetrics; - - [NativeTypeName("HRESULT (DWRITE_CLUSTER_METRICS *, UINT32, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetClusterMetrics; - - [NativeTypeName("HRESULT (FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DetermineMinWidth; - - [NativeTypeName("HRESULT (FLOAT, FLOAT, BOOL *, BOOL *, DWRITE_HIT_TEST_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] HitTestPoint; - - [NativeTypeName("HRESULT (UINT32, BOOL, FLOAT *, FLOAT *, DWRITE_HIT_TEST_METRICS *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] HitTestTextPosition; - - [NativeTypeName("HRESULT (UINT32, UINT32, FLOAT, FLOAT, DWRITE_HIT_TEST_METRICS *, UINT32, UINT32 *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] HitTestTextRange; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTextRenderer.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTextRenderer.cs index 6d812d2c..8a4051a6 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTextRenderer.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTextRenderer.cs @@ -103,38 +103,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(9)] HRESULT DrawInlineObject(void* clientDrawingContext, float originX, float originY, IDWriteInlineObject* inlineObject, BOOL isSideways, BOOL isRightToLeft, IUnknown* clientDrawingEffect); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (void *, BOOL *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsPixelSnappingDisabled; - - [NativeTypeName("HRESULT (void *, DWRITE_MATRIX *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCurrentTransform; - - [NativeTypeName("HRESULT (void *, FLOAT *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelsPerDip; - - [NativeTypeName("HRESULT (void *, FLOAT, FLOAT, DWRITE_MEASURING_MODE, const DWRITE_GLYPH_RUN *, const DWRITE_GLYPH_RUN_DESCRIPTION *, IUnknown *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawGlyphRun; - - [NativeTypeName("HRESULT (void *, FLOAT, FLOAT, const DWRITE_UNDERLINE *, IUnknown *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawUnderline; - - [NativeTypeName("HRESULT (void *, FLOAT, FLOAT, const DWRITE_STRIKETHROUGH *, IUnknown *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawStrikethrough; - - [NativeTypeName("HRESULT (void *, FLOAT, FLOAT, IDWriteInlineObject *, BOOL, BOOL, IUnknown *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DrawInlineObject; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTypography.cs b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTypography.cs index a4b90788..1d684e7b 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTypography.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dwrite/IDWriteTypography.cs @@ -74,26 +74,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(5)] HRESULT GetFontFeature([NativeTypeName("UINT32")] uint fontFeatureIndex, DWRITE_FONT_FEATURE* fontFeature); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (DWRITE_FONT_FEATURE) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddFontFeature; - - [NativeTypeName("UINT32 () __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontFeatureCount; - - [NativeTypeName("HRESULT (UINT32, DWRITE_FONT_FEATURE *) __attribute__((nothrow)) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFontFeature; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlob.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlob.cs index f6d87aea..52e6823d 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlob.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlob.cs @@ -66,23 +66,5 @@ namespace TerraFX.Interop.DirectX [return: NativeTypeName("SIZE_T")] nuint GetBufferSize(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("LPVOID () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBufferPointer; - - [NativeTypeName("SIZE_T () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBufferSize; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobEncoding.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobEncoding.cs index b98face6..301c39a5 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobEncoding.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobEncoding.cs @@ -68,26 +68,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(5)] HRESULT GetEncoding(BOOL* pKnown, [NativeTypeName("UINT32 *")] uint* pCodePage); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("LPVOID () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBufferPointer; - - [NativeTypeName("SIZE_T () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBufferSize; - - [NativeTypeName("HRESULT (BOOL *, UINT32 *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetEncoding; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobUtf16.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobUtf16.cs index e749eca6..e76a1bcc 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobUtf16.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobUtf16.cs @@ -89,32 +89,5 @@ namespace TerraFX.Interop.DirectX [return: NativeTypeName("SIZE_T")] nuint GetStringLength(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("LPVOID () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBufferPointer; - - [NativeTypeName("SIZE_T () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBufferSize; - - [NativeTypeName("HRESULT (BOOL *, UINT32 *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetEncoding; - - [NativeTypeName("LPCWSTR () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetStringPointer; - - [NativeTypeName("SIZE_T () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetStringLength; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobUtf8.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobUtf8.cs index cc0389ed..ea586d50 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobUtf8.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcBlobUtf8.cs @@ -89,32 +89,5 @@ namespace TerraFX.Interop.DirectX [return: NativeTypeName("SIZE_T")] nuint GetStringLength(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("LPVOID () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBufferPointer; - - [NativeTypeName("SIZE_T () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBufferSize; - - [NativeTypeName("HRESULT (BOOL *, UINT32 *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetEncoding; - - [NativeTypeName("LPCSTR () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetStringPointer; - - [NativeTypeName("SIZE_T () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetStringLength; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcCompiler.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcCompiler.cs index 96d4ecfd..d3a6fbaa 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcCompiler.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcCompiler.cs @@ -72,26 +72,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(5)] HRESULT Disassemble(IDxcBlob* pSource, IDxcBlobEncoding** ppDisassembly); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (IDxcBlob *, LPCWSTR, LPCWSTR, LPCWSTR, LPCWSTR *, UINT32, const DxcDefine *, UINT32, IDxcIncludeHandler *, IDxcOperationResult **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Compile; - - [NativeTypeName("HRESULT (IDxcBlob *, LPCWSTR, LPCWSTR *, UINT32, const DxcDefine *, UINT32, IDxcIncludeHandler *, IDxcOperationResult **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Preprocess; - - [NativeTypeName("HRESULT (IDxcBlob *, IDxcBlobEncoding **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Disassemble; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcCompilerArgs.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcCompilerArgs.cs index 3673422c..c78f4db6 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcCompilerArgs.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcCompilerArgs.cs @@ -96,32 +96,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(7)] HRESULT AddDefines([NativeTypeName("const DxcDefine *")] DxcDefine* pDefines, [NativeTypeName("UINT32")] uint defineCount); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("LPCWSTR *() __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetArguments; - - [NativeTypeName("UINT32 () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCount; - - [NativeTypeName("HRESULT (LPCWSTR *, UINT32) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddArguments; - - [NativeTypeName("HRESULT (LPCSTR *, UINT32) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddArgumentsUTF8; - - [NativeTypeName("HRESULT (const DxcDefine *, UINT32) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddDefines; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcIncludeHandler.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcIncludeHandler.cs index 74a5168f..09a56139 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcIncludeHandler.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcIncludeHandler.cs @@ -52,20 +52,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(3)] HRESULT LoadSource([NativeTypeName("LPCWSTR")] ushort* pFilename, IDxcBlob** ppIncludeSource); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (LPCWSTR, IDxcBlob **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] LoadSource; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcLibrary.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcLibrary.cs index e28377b0..0200a74b 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcLibrary.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcLibrary.cs @@ -142,47 +142,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(12)] HRESULT GetBlobAsUtf16(IDxcBlob* pBlob, IDxcBlobEncoding** pBlobEncoding); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (IMalloc *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetMalloc; - - [NativeTypeName("HRESULT (IDxcBlob *, UINT32, UINT32, IDxcBlob **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBlobFromBlob; - - [NativeTypeName("HRESULT (LPCWSTR, UINT32 *, IDxcBlobEncoding **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBlobFromFile; - - [NativeTypeName("HRESULT (LPCVOID, UINT32, UINT32, IDxcBlobEncoding **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBlobWithEncodingFromPinned; - - [NativeTypeName("HRESULT (LPCVOID, UINT32, UINT32, IDxcBlobEncoding **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBlobWithEncodingOnHeapCopy; - - [NativeTypeName("HRESULT (LPCVOID, IMalloc *, UINT32, UINT32, IDxcBlobEncoding **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBlobWithEncodingOnMalloc; - - [NativeTypeName("HRESULT (IDxcIncludeHandler **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateIncludeHandler; - - [NativeTypeName("HRESULT (IDxcBlob *, IStream **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateStreamFromBlobReadOnly; - - [NativeTypeName("HRESULT (IDxcBlob *, IDxcBlobEncoding **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBlobAsUtf8; - - [NativeTypeName("HRESULT (IDxcBlob *, IDxcBlobEncoding **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBlobAsUtf16; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcOperationResult.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcOperationResult.cs index 362a7173..31d8e420 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcOperationResult.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcOperationResult.cs @@ -72,26 +72,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(5)] HRESULT GetErrorBuffer(IDxcBlobEncoding** ppErrors); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (HRESULT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetStatus; - - [NativeTypeName("HRESULT (IDxcBlob **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetResult; - - [NativeTypeName("HRESULT (IDxcBlobEncoding **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetErrorBuffer; - } } } diff --git a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcUtils.cs b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcUtils.cs index ae54f84d..1327daf6 100644 --- a/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcUtils.cs +++ b/src/TerraFX.Interop.Windows/DirectX/um/dxcapi/IDxcUtils.cs @@ -172,56 +172,5 @@ namespace TerraFX.Interop.DirectX [VtblIndex(15)] HRESULT GetPDBContents(IDxcBlob* pPDBBlob, IDxcBlob** ppHash, IDxcBlob** ppContainer); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (IDxcBlob *, UINT32, UINT32, IDxcBlob **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBlobFromBlob; - - [NativeTypeName("HRESULT (LPCVOID, UINT32, UINT32, IDxcBlobEncoding **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBlobFromPinned; - - [NativeTypeName("HRESULT (LPCVOID, IMalloc *, UINT32, UINT32, IDxcBlobEncoding **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] MoveToBlob; - - [NativeTypeName("HRESULT (LPCVOID, UINT32, UINT32, IDxcBlobEncoding **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBlob; - - [NativeTypeName("HRESULT (LPCWSTR, UINT32 *, IDxcBlobEncoding **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] LoadFile; - - [NativeTypeName("HRESULT (IDxcBlob *, IStream **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateReadOnlyStreamFromBlob; - - [NativeTypeName("HRESULT (IDxcIncludeHandler **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDefaultIncludeHandler; - - [NativeTypeName("HRESULT (IDxcBlob *, IDxcBlobUtf8 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBlobAsUtf8; - - [NativeTypeName("HRESULT (IDxcBlob *, IDxcBlobUtf16 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetBlobAsUtf16; - - [NativeTypeName("HRESULT (const DxcBuffer *, UINT32, void **, UINT32 *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDxilContainerPart; - - [NativeTypeName("HRESULT (const DxcBuffer *, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateReflection; - - [NativeTypeName("HRESULT (LPCWSTR, LPCWSTR, LPCWSTR, LPCWSTR *, UINT32, const DxcDefine *, UINT32, IDxcCompilerArgs **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] BuildArguments; - - [NativeTypeName("HRESULT (IDxcBlob *, IDxcBlob **, IDxcBlob **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPDBContents; - } } } diff --git a/src/TerraFX.Interop.Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs b/src/TerraFX.Interop.Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs index ad2dad96..c2c33462 100644 --- a/src/TerraFX.Interop.Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs +++ b/src/TerraFX.Interop.Windows/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs @@ -55,20 +55,5 @@ namespace TerraFX.Interop.WinRT [VtblIndex(3)] HRESULT SetSwapChain(IDXGISwapChain* swapChain); } - - public partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (IDXGISwapChain *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetSwapChain; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/DocumentTarget/IPrintDocumentPackageTarget.cs b/src/TerraFX.Interop.Windows/Windows/um/DocumentTarget/IPrintDocumentPackageTarget.cs index 08442937..19b125f5 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/DocumentTarget/IPrintDocumentPackageTarget.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/DocumentTarget/IPrintDocumentPackageTarget.cs @@ -73,26 +73,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(5)] HRESULT Cancel(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (UINT32 *, GUID **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPackageTargetTypes; - - [NativeTypeName("HRESULT (const GUID &, const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPackageTarget; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Cancel; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/Unknwnbase/IUnknown.cs b/src/TerraFX.Interop.Windows/Windows/um/Unknwnbase/IUnknown.cs index 4c4ac0fe..eca9bd4b 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/Unknwnbase/IUnknown.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/Unknwnbase/IUnknown.cs @@ -50,17 +50,5 @@ namespace TerraFX.Interop.Windows [return: NativeTypeName("ULONG")] uint Release(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/oaidl/IDispatch.cs b/src/TerraFX.Interop.Windows/Windows/um/oaidl/IDispatch.cs index b8ad51e7..3e86e530 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/oaidl/IDispatch.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/oaidl/IDispatch.cs @@ -81,29 +81,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(6)] HRESULT Invoke([NativeTypeName("DISPID")] int dispIdMember, [NativeTypeName("const IID &")] Guid* riid, [NativeTypeName("LCID")] uint lcid, [NativeTypeName("WORD")] ushort wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, uint* puArgErr); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTypeInfoCount; - - [NativeTypeName("HRESULT (UINT, LCID, ITypeInfo **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTypeInfo; - - [NativeTypeName("HRESULT (const IID &, LPOLESTR *, UINT, LCID, DISPID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetIDsOfNames; - - [NativeTypeName("HRESULT (DISPID, const IID &, LCID, WORD, DISPPARAMS *, VARIANT *, EXCEPINFO *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Invoke; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/oaidl/IErrorLog.cs b/src/TerraFX.Interop.Windows/Windows/um/oaidl/IErrorLog.cs index 6d52d7de..9c2903d2 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/oaidl/IErrorLog.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/oaidl/IErrorLog.cs @@ -51,20 +51,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(3)] HRESULT AddError([NativeTypeName("LPCOLESTR")] ushort* pszPropName, EXCEPINFO* pExcepInfo); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (LPCOLESTR, EXCEPINFO *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddError; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/oaidl/IRecordInfo.cs b/src/TerraFX.Interop.Windows/Windows/um/oaidl/IRecordInfo.cs index 3924a2c4..fb0b5cd4 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/oaidl/IRecordInfo.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/oaidl/IRecordInfo.cs @@ -203,65 +203,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(18)] HRESULT RecordDestroy([NativeTypeName("PVOID")] void* pvRecord); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (PVOID) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RecordInit; - - [NativeTypeName("HRESULT (PVOID) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RecordClear; - - [NativeTypeName("HRESULT (PVOID, PVOID) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RecordCopy; - - [NativeTypeName("HRESULT (GUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetGuid; - - [NativeTypeName("HRESULT (BSTR *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetName; - - [NativeTypeName("HRESULT (ULONG *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("HRESULT (ITypeInfo **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTypeInfo; - - [NativeTypeName("HRESULT (PVOID, LPCOLESTR, VARIANT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetField; - - [NativeTypeName("HRESULT (PVOID, LPCOLESTR, VARIANT *, PVOID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFieldNoCopy; - - [NativeTypeName("HRESULT (ULONG, PVOID, LPCOLESTR, VARIANT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PutField; - - [NativeTypeName("HRESULT (ULONG, PVOID, LPCOLESTR, VARIANT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] PutFieldNoCopy; - - [NativeTypeName("HRESULT (ULONG *, BSTR *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFieldNames; - - [NativeTypeName("BOOL (IRecordInfo *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsMatchingType; - - [NativeTypeName("PVOID () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RecordCreate; - - [NativeTypeName("HRESULT (PVOID, PVOID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RecordCreateCopy; - - [NativeTypeName("HRESULT (PVOID) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RecordDestroy; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/oaidl/ITypeComp.cs b/src/TerraFX.Interop.Windows/Windows/um/oaidl/ITypeComp.cs index 3aa24ec9..d325cb14 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/oaidl/ITypeComp.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/oaidl/ITypeComp.cs @@ -61,23 +61,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(4)] HRESULT BindType([NativeTypeName("LPOLESTR")] ushort* szName, [NativeTypeName("ULONG")] uint lHashVal, ITypeInfo** ppTInfo, ITypeComp** ppTComp); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (LPOLESTR, ULONG, WORD, ITypeInfo **, DESCKIND *, BINDPTR *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Bind; - - [NativeTypeName("HRESULT (LPOLESTR, ULONG, ITypeInfo **, ITypeComp **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] BindType; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/oaidl/ITypeInfo.cs b/src/TerraFX.Interop.Windows/Windows/um/oaidl/ITypeInfo.cs index 3f7c47f3..8312b27a 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/oaidl/ITypeInfo.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/oaidl/ITypeInfo.cs @@ -231,74 +231,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(21)] void ReleaseVarDesc(VARDESC* pVarDesc); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (TYPEATTR **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTypeAttr; - - [NativeTypeName("HRESULT (ITypeComp **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTypeComp; - - [NativeTypeName("HRESULT (UINT, FUNCDESC **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFuncDesc; - - [NativeTypeName("HRESULT (UINT, VARDESC **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetVarDesc; - - [NativeTypeName("HRESULT (MEMBERID, BSTR *, UINT, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetNames; - - [NativeTypeName("HRESULT (UINT, HREFTYPE *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRefTypeOfImplType; - - [NativeTypeName("HRESULT (UINT, INT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetImplTypeFlags; - - [NativeTypeName("HRESULT (LPOLESTR *, UINT, MEMBERID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetIDsOfNames; - - [NativeTypeName("HRESULT (PVOID, MEMBERID, WORD, DISPPARAMS *, VARIANT *, EXCEPINFO *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Invoke; - - [NativeTypeName("HRESULT (MEMBERID, BSTR *, BSTR *, DWORD *, BSTR *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDocumentation; - - [NativeTypeName("HRESULT (MEMBERID, INVOKEKIND, BSTR *, BSTR *, WORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDllEntry; - - [NativeTypeName("HRESULT (HREFTYPE, ITypeInfo **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetRefTypeInfo; - - [NativeTypeName("HRESULT (MEMBERID, INVOKEKIND, PVOID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddressOfMember; - - [NativeTypeName("HRESULT (IUnknown *, const IID &, PVOID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateInstance; - - [NativeTypeName("HRESULT (MEMBERID, BSTR *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMops; - - [NativeTypeName("HRESULT (ITypeLib **, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetContainingTypeLib; - - [NativeTypeName("void (TYPEATTR *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ReleaseTypeAttr; - - [NativeTypeName("void (FUNCDESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ReleaseFuncDesc; - - [NativeTypeName("void (VARDESC *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ReleaseVarDesc; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/oaidl/ITypeLib.cs b/src/TerraFX.Interop.Windows/Windows/um/oaidl/ITypeLib.cs index 237d6063..91ab45c1 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/oaidl/ITypeLib.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/oaidl/ITypeLib.cs @@ -141,47 +141,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(12)] void ReleaseTLibAttr(TLIBATTR* pTLibAttr); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("UINT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTypeInfoCount; - - [NativeTypeName("HRESULT (UINT, ITypeInfo **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTypeInfo; - - [NativeTypeName("HRESULT (UINT, TYPEKIND *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTypeInfoType; - - [NativeTypeName("HRESULT (const GUID &, ITypeInfo **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTypeInfoOfGuid; - - [NativeTypeName("HRESULT (TLIBATTR **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLibAttr; - - [NativeTypeName("HRESULT (ITypeComp **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetTypeComp; - - [NativeTypeName("HRESULT (INT, BSTR *, BSTR *, DWORD *, BSTR *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDocumentation; - - [NativeTypeName("HRESULT (LPOLESTR, ULONG, BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsName; - - [NativeTypeName("HRESULT (LPOLESTR, ULONG, ITypeInfo **, MEMBERID *, USHORT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] FindName; - - [NativeTypeName("void (TLIBATTR *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] ReleaseTLibAttr; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/objidl/IEnumSTATSTG.cs b/src/TerraFX.Interop.Windows/Windows/um/objidl/IEnumSTATSTG.cs index 0edb8e03..c0d1cfcb 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/objidl/IEnumSTATSTG.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/objidl/IEnumSTATSTG.cs @@ -81,29 +81,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(6)] HRESULT Clone(IEnumSTATSTG** ppenum); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (ULONG, STATSTG *, ULONG *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Next; - - [NativeTypeName("HRESULT (ULONG) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Skip; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Reset; - - [NativeTypeName("HRESULT (IEnumSTATSTG **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Clone; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/objidl/IStorage.cs b/src/TerraFX.Interop.Windows/Windows/um/objidl/IStorage.cs index 27a73a89..b15bb266 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/objidl/IStorage.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/objidl/IStorage.cs @@ -191,62 +191,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(17)] HRESULT Stat(STATSTG* pstatstg, [NativeTypeName("DWORD")] uint grfStatFlag); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (const OLECHAR *, DWORD, DWORD, DWORD, IStream **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateStream; - - [NativeTypeName("HRESULT (const OLECHAR *, void *, DWORD, DWORD, IStream **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] OpenStream; - - [NativeTypeName("HRESULT (const OLECHAR *, DWORD, DWORD, DWORD, IStorage **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateStorage; - - [NativeTypeName("HRESULT (const OLECHAR *, IStorage *, DWORD, SNB, DWORD, IStorage **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] OpenStorage; - - [NativeTypeName("HRESULT (DWORD, const IID *, SNB, IStorage *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyTo; - - [NativeTypeName("HRESULT (const OLECHAR *, IStorage *, const OLECHAR *, DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] MoveElementTo; - - [NativeTypeName("HRESULT (DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Commit; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Revert; - - [NativeTypeName("HRESULT (DWORD, void *, DWORD, IEnumSTATSTG **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] EnumElements; - - [NativeTypeName("HRESULT (const OLECHAR *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DestroyElement; - - [NativeTypeName("HRESULT (const OLECHAR *, const OLECHAR *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RenameElement; - - [NativeTypeName("HRESULT (const OLECHAR *, const FILETIME *, const FILETIME *, const FILETIME *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetElementTimes; - - [NativeTypeName("HRESULT (const IID &) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetClass; - - [NativeTypeName("HRESULT (DWORD, DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetStateBits; - - [NativeTypeName("HRESULT (STATSTG *, DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Stat; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IEnumString.cs b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IEnumString.cs index 6f1fc68d..3a38a9c0 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IEnumString.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IEnumString.cs @@ -81,29 +81,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(6)] HRESULT Clone(IEnumString** ppenum); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (ULONG, LPOLESTR *, ULONG *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Next; - - [NativeTypeName("HRESULT (ULONG) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Skip; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Reset; - - [NativeTypeName("HRESULT (IEnumString **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Clone; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IEnumUnknown.cs b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IEnumUnknown.cs index 0bc2e6cf..698d466c 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IEnumUnknown.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IEnumUnknown.cs @@ -81,29 +81,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(6)] HRESULT Clone(IEnumUnknown** ppenum); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (ULONG, IUnknown **, ULONG *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Next; - - [NativeTypeName("HRESULT (ULONG) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Skip; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Reset; - - [NativeTypeName("HRESULT (IEnumUnknown **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Clone; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IMalloc.cs b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IMalloc.cs index fbefc68f..17df4df2 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IMalloc.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IMalloc.cs @@ -103,35 +103,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(8)] void HeapMinimize(); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("void *(SIZE_T) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Alloc; - - [NativeTypeName("void *(void *, SIZE_T) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Realloc; - - [NativeTypeName("void (void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Free; - - [NativeTypeName("SIZE_T (void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("int (void *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DidAlloc; - - [NativeTypeName("void () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] HeapMinimize; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/ISequentialStream.cs b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/ISequentialStream.cs index 309eebb6..174c3d8b 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/ISequentialStream.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/ISequentialStream.cs @@ -61,23 +61,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(4)] HRESULT Write([NativeTypeName("const void *")] void* pv, [NativeTypeName("ULONG")] uint cb, [NativeTypeName("ULONG *")] uint* pcbWritten); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (void *, ULONG, ULONG *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Read; - - [NativeTypeName("HRESULT (const void *, ULONG, ULONG *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Write; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IStream.cs b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IStream.cs index 90ac48f6..8a98e8e3 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IStream.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/objidlbase/IStream.cs @@ -145,50 +145,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(13)] HRESULT Clone(IStream** ppstm); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (void *, ULONG, ULONG *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Read; - - [NativeTypeName("HRESULT (const void *, ULONG, ULONG *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Write; - - [NativeTypeName("HRESULT (LARGE_INTEGER, DWORD, ULARGE_INTEGER *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Seek; - - [NativeTypeName("HRESULT (ULARGE_INTEGER) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetSize; - - [NativeTypeName("HRESULT (IStream *, ULARGE_INTEGER, ULARGE_INTEGER *, ULARGE_INTEGER *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyTo; - - [NativeTypeName("HRESULT (DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Commit; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Revert; - - [NativeTypeName("HRESULT (ULARGE_INTEGER, ULARGE_INTEGER, DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] LockRegion; - - [NativeTypeName("HRESULT (ULARGE_INTEGER, ULARGE_INTEGER, DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] UnlockRegion; - - [NativeTypeName("HRESULT (STATSTG *, DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Stat; - - [NativeTypeName("HRESULT (IStream **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Clone; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/ocidl/IPropertyBag2.cs b/src/TerraFX.Interop.Windows/Windows/um/ocidl/IPropertyBag2.cs index 203f9fcd..b672f8e9 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/ocidl/IPropertyBag2.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/ocidl/IPropertyBag2.cs @@ -91,32 +91,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(7)] HRESULT LoadObject([NativeTypeName("LPCOLESTR")] ushort* pstrName, [NativeTypeName("DWORD")] uint dwHint, IUnknown* pUnkObject, IErrorLog* pErrLog); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (ULONG, PROPBAG2 *, IErrorLog *, VARIANT *, HRESULT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Read; - - [NativeTypeName("HRESULT (ULONG, PROPBAG2 *, VARIANT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Write; - - [NativeTypeName("HRESULT (ULONG *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CountProperties; - - [NativeTypeName("HRESULT (ULONG, ULONG, PROPBAG2 *, ULONG *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPropertyInfo; - - [NativeTypeName("HRESULT (LPCOLESTR, DWORD, IUnknown *, IErrorLog *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] LoadObject; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmap.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmap.cs index d841c25e..0d9c022c 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmap.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmap.cs @@ -106,41 +106,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(10)] HRESULT SetResolution(double dpiX, double dpiY); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (UINT *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("HRESULT (WICPixelFormatGUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("HRESULT (double *, double *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetResolution; - - [NativeTypeName("HRESULT (IWICPalette *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPalette; - - [NativeTypeName("HRESULT (const WICRect *, UINT, UINT, BYTE *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPixels; - - [NativeTypeName("HRESULT (const WICRect *, DWORD, IWICBitmapLock **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Lock; - - [NativeTypeName("HRESULT (IWICPalette *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPalette; - - [NativeTypeName("HRESULT (double, double) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetResolution; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapClipper.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapClipper.cs index 61a94f9c..90abb181 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapClipper.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapClipper.cs @@ -86,35 +86,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(8)] HRESULT Initialize(IWICBitmapSource* pISource, [NativeTypeName("const WICRect *")] WICRect* prc); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (UINT *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("HRESULT (WICPixelFormatGUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("HRESULT (double *, double *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetResolution; - - [NativeTypeName("HRESULT (IWICPalette *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPalette; - - [NativeTypeName("HRESULT (const WICRect *, UINT, UINT, BYTE *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPixels; - - [NativeTypeName("HRESULT (IWICBitmapSource *, const WICRect *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Initialize; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapCodecInfo.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapCodecInfo.cs index a88fb5ab..bf29e918 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapCodecInfo.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapCodecInfo.cs @@ -217,77 +217,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(22)] HRESULT MatchesMimeType([NativeTypeName("LPCWSTR")] ushort* wzMimeType, BOOL* pfMatches); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (WICComponentType *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetComponentType; - - [NativeTypeName("HRESULT (CLSID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCLSID; - - [NativeTypeName("HRESULT (DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSigningStatus; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetAuthor; - - [NativeTypeName("HRESULT (GUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetVendorGUID; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetVersion; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSpecVersion; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFriendlyName; - - [NativeTypeName("HRESULT (GUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetContainerFormat; - - [NativeTypeName("HRESULT (UINT, GUID *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormats; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetColorManagementVersion; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDeviceManufacturer; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDeviceModels; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMimeTypes; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFileExtensions; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DoesSupportAnimation; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DoesSupportChromakey; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DoesSupportLossless; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DoesSupportMultiframe; - - [NativeTypeName("HRESULT (LPCWSTR, BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] MatchesMimeType; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapDecoder.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapDecoder.cs index 18369b51..d6bdfe70 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapDecoder.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapDecoder.cs @@ -151,50 +151,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(13)] HRESULT GetFrame(uint index, IWICBitmapFrameDecode** ppIBitmapFrame); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (IStream *, DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryCapability; - - [NativeTypeName("HRESULT (IStream *, WICDecodeOptions) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Initialize; - - [NativeTypeName("HRESULT (GUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetContainerFormat; - - [NativeTypeName("HRESULT (IWICBitmapDecoderInfo **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDecoderInfo; - - [NativeTypeName("HRESULT (IWICPalette *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPalette; - - [NativeTypeName("HRESULT (IWICMetadataQueryReader **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMetadataQueryReader; - - [NativeTypeName("HRESULT (IWICBitmapSource **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPreview; - - [NativeTypeName("HRESULT (UINT, IWICColorContext **, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetColorContexts; - - [NativeTypeName("HRESULT (IWICBitmapSource **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetThumbnail; - - [NativeTypeName("HRESULT (UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFrameCount; - - [NativeTypeName("HRESULT (UINT, IWICBitmapFrameDecode **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFrame; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapDecoderInfo.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapDecoderInfo.cs index 7104063b..4ee7bbfa 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapDecoderInfo.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapDecoderInfo.cs @@ -211,86 +211,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(25)] HRESULT CreateInstance(IWICBitmapDecoder** ppIBitmapDecoder); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (WICComponentType *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetComponentType; - - [NativeTypeName("HRESULT (CLSID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCLSID; - - [NativeTypeName("HRESULT (DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSigningStatus; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetAuthor; - - [NativeTypeName("HRESULT (GUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetVendorGUID; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetVersion; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSpecVersion; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFriendlyName; - - [NativeTypeName("HRESULT (GUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetContainerFormat; - - [NativeTypeName("HRESULT (UINT, GUID *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormats; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetColorManagementVersion; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDeviceManufacturer; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDeviceModels; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMimeTypes; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFileExtensions; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DoesSupportAnimation; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DoesSupportChromakey; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DoesSupportLossless; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DoesSupportMultiframe; - - [NativeTypeName("HRESULT (LPCWSTR, BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] MatchesMimeType; - - [NativeTypeName("HRESULT (UINT, WICBitmapPattern *, UINT *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPatterns; - - [NativeTypeName("HRESULT (IStream *, BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] MatchesPattern; - - [NativeTypeName("HRESULT (IWICBitmapDecoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateInstance; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapEncoder.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapEncoder.cs index 3c5e8a15..828b1e06 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapEncoder.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapEncoder.cs @@ -141,47 +141,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(12)] HRESULT GetMetadataQueryWriter(IWICMetadataQueryWriter** ppIMetadataQueryWriter); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (IStream *, WICBitmapEncoderCacheOption) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Initialize; - - [NativeTypeName("HRESULT (GUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetContainerFormat; - - [NativeTypeName("HRESULT (IWICBitmapEncoderInfo **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetEncoderInfo; - - [NativeTypeName("HRESULT (UINT, IWICColorContext **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetColorContexts; - - [NativeTypeName("HRESULT (IWICPalette *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPalette; - - [NativeTypeName("HRESULT (IWICBitmapSource *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetThumbnail; - - [NativeTypeName("HRESULT (IWICBitmapSource *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPreview; - - [NativeTypeName("HRESULT (IWICBitmapFrameEncode **, IPropertyBag2 **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateNewFrame; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Commit; - - [NativeTypeName("HRESULT (IWICMetadataQueryWriter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMetadataQueryWriter; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapEncoderInfo.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapEncoderInfo.cs index a1e5175e..d2a5add1 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapEncoderInfo.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapEncoderInfo.cs @@ -191,80 +191,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(23)] HRESULT CreateInstance(IWICBitmapEncoder** ppIBitmapEncoder); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (WICComponentType *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetComponentType; - - [NativeTypeName("HRESULT (CLSID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCLSID; - - [NativeTypeName("HRESULT (DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSigningStatus; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetAuthor; - - [NativeTypeName("HRESULT (GUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetVendorGUID; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetVersion; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSpecVersion; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFriendlyName; - - [NativeTypeName("HRESULT (GUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetContainerFormat; - - [NativeTypeName("HRESULT (UINT, GUID *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormats; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetColorManagementVersion; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDeviceManufacturer; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDeviceModels; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMimeTypes; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFileExtensions; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DoesSupportAnimation; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DoesSupportChromakey; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DoesSupportLossless; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] DoesSupportMultiframe; - - [NativeTypeName("HRESULT (LPCWSTR, BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] MatchesMimeType; - - [NativeTypeName("HRESULT (IWICBitmapEncoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateInstance; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFlipRotator.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFlipRotator.cs index 716865f0..37720235 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFlipRotator.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFlipRotator.cs @@ -86,35 +86,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(8)] HRESULT Initialize(IWICBitmapSource* pISource, WICBitmapTransformOptions options); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (UINT *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("HRESULT (WICPixelFormatGUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("HRESULT (double *, double *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetResolution; - - [NativeTypeName("HRESULT (IWICPalette *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPalette; - - [NativeTypeName("HRESULT (const WICRect *, UINT, UINT, BYTE *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPixels; - - [NativeTypeName("HRESULT (IWICBitmapSource *, WICBitmapTransformOptions) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Initialize; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameDecode.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameDecode.cs index 89c53a4c..1b7f497f 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameDecode.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameDecode.cs @@ -106,41 +106,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(10)] HRESULT GetThumbnail(IWICBitmapSource** ppIThumbnail); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (UINT *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("HRESULT (WICPixelFormatGUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("HRESULT (double *, double *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetResolution; - - [NativeTypeName("HRESULT (IWICPalette *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPalette; - - [NativeTypeName("HRESULT (const WICRect *, UINT, UINT, BYTE *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPixels; - - [NativeTypeName("HRESULT (IWICMetadataQueryReader **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMetadataQueryReader; - - [NativeTypeName("HRESULT (UINT, IWICColorContext **, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetColorContexts; - - [NativeTypeName("HRESULT (IWICBitmapSource **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetThumbnail; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameEncode.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameEncode.cs index 26c97ff1..866f8feb 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameEncode.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapFrameEncode.cs @@ -151,50 +151,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(13)] HRESULT GetMetadataQueryWriter(IWICMetadataQueryWriter** ppIMetadataQueryWriter); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (IPropertyBag2 *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Initialize; - - [NativeTypeName("HRESULT (UINT, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetSize; - - [NativeTypeName("HRESULT (double, double) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetResolution; - - [NativeTypeName("HRESULT (WICPixelFormatGUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPixelFormat; - - [NativeTypeName("HRESULT (UINT, IWICColorContext **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetColorContexts; - - [NativeTypeName("HRESULT (IWICPalette *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetPalette; - - [NativeTypeName("HRESULT (IWICBitmapSource *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetThumbnail; - - [NativeTypeName("HRESULT (UINT, UINT, UINT, BYTE *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] WritePixels; - - [NativeTypeName("HRESULT (IWICBitmapSource *, WICRect *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] WriteSource; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Commit; - - [NativeTypeName("HRESULT (IWICMetadataQueryWriter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMetadataQueryWriter; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapLock.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapLock.cs index ebcec879..0fa6840e 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapLock.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapLock.cs @@ -81,29 +81,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(6)] HRESULT GetPixelFormat([NativeTypeName("WICPixelFormatGUID *")] Guid* pPixelFormat); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (UINT *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("HRESULT (UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetStride; - - [NativeTypeName("HRESULT (UINT *, WICInProcPointer *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetDataPointer; - - [NativeTypeName("HRESULT (WICPixelFormatGUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapScaler.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapScaler.cs index 56a89b07..ce372abc 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapScaler.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapScaler.cs @@ -86,35 +86,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(8)] HRESULT Initialize(IWICBitmapSource* pISource, uint uiWidth, uint uiHeight, WICBitmapInterpolationMode mode); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (UINT *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("HRESULT (WICPixelFormatGUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("HRESULT (double *, double *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetResolution; - - [NativeTypeName("HRESULT (IWICPalette *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPalette; - - [NativeTypeName("HRESULT (const WICRect *, UINT, UINT, BYTE *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPixels; - - [NativeTypeName("HRESULT (IWICBitmapSource *, UINT, UINT, WICBitmapInterpolationMode) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Initialize; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapSource.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapSource.cs index dfe9d31b..5a7e1163 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapSource.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICBitmapSource.cs @@ -91,32 +91,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(7)] HRESULT CopyPixels([NativeTypeName("const WICRect *")] WICRect* prc, uint cbStride, uint cbBufferSize, byte* pbBuffer); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (UINT *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("HRESULT (WICPixelFormatGUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("HRESULT (double *, double *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetResolution; - - [NativeTypeName("HRESULT (IWICPalette *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPalette; - - [NativeTypeName("HRESULT (const WICRect *, UINT, UINT, BYTE *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPixels; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICColorContext.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICColorContext.cs index 3c44289e..b728145c 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICColorContext.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICColorContext.cs @@ -101,35 +101,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(8)] HRESULT GetExifColorSpace(uint* pValue); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] InitializeFromFilename; - - [NativeTypeName("HRESULT (const BYTE *, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] InitializeFromMemory; - - [NativeTypeName("HRESULT (UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] InitializeFromExifColorSpace; - - [NativeTypeName("HRESULT (WICColorContextType *) __attribute__((stdcall))")] - public new delegate* unmanaged[Stdcall] GetType; - - [NativeTypeName("HRESULT (UINT, BYTE *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetProfileBytes; - - [NativeTypeName("HRESULT (UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetExifColorSpace; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICColorTransform.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICColorTransform.cs index e1507d8f..e0596885 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICColorTransform.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICColorTransform.cs @@ -86,35 +86,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(8)] HRESULT Initialize(IWICBitmapSource* pIBitmapSource, IWICColorContext* pIContextSource, IWICColorContext* pIContextDest, [NativeTypeName("REFWICPixelFormatGUID")] Guid* pixelFmtDest); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (UINT *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("HRESULT (WICPixelFormatGUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("HRESULT (double *, double *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetResolution; - - [NativeTypeName("HRESULT (IWICPalette *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPalette; - - [NativeTypeName("HRESULT (const WICRect *, UINT, UINT, BYTE *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPixels; - - [NativeTypeName("HRESULT (IWICBitmapSource *, IWICColorContext *, IWICColorContext *, REFWICPixelFormatGUID) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Initialize; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICComponentInfo.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICComponentInfo.cs index b8115300..fb8c9815 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICComponentInfo.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICComponentInfo.cs @@ -121,41 +121,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(10)] HRESULT GetFriendlyName(uint cchFriendlyName, [NativeTypeName("WCHAR *")] ushort* wzFriendlyName, uint* pcchActual); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (WICComponentType *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetComponentType; - - [NativeTypeName("HRESULT (CLSID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetCLSID; - - [NativeTypeName("HRESULT (DWORD *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSigningStatus; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetAuthor; - - [NativeTypeName("HRESULT (GUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetVendorGUID; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetVersion; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSpecVersion; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetFriendlyName; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICFastMetadataEncoder.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICFastMetadataEncoder.cs index 33ef8f75..550857b6 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICFastMetadataEncoder.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICFastMetadataEncoder.cs @@ -61,23 +61,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(4)] HRESULT GetMetadataQueryWriter(IWICMetadataQueryWriter** ppIMetadataQueryWriter); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Commit; - - [NativeTypeName("HRESULT (IWICMetadataQueryWriter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMetadataQueryWriter; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICFormatConverter.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICFormatConverter.cs index 59cf4a11..ed24b119 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICFormatConverter.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICFormatConverter.cs @@ -96,38 +96,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(9)] HRESULT CanConvert([NativeTypeName("REFWICPixelFormatGUID")] Guid* srcPixelFormat, [NativeTypeName("REFWICPixelFormatGUID")] Guid* dstPixelFormat, BOOL* pfCanConvert); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (UINT *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetSize; - - [NativeTypeName("HRESULT (WICPixelFormatGUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetPixelFormat; - - [NativeTypeName("HRESULT (double *, double *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetResolution; - - [NativeTypeName("HRESULT (IWICPalette *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPalette; - - [NativeTypeName("HRESULT (const WICRect *, UINT, UINT, BYTE *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyPixels; - - [NativeTypeName("HRESULT (IWICBitmapSource *, REFWICPixelFormatGUID, WICBitmapDitherType, IWICPalette *, double, WICBitmapPaletteType) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Initialize; - - [NativeTypeName("HRESULT (REFWICPixelFormatGUID, REFWICPixelFormatGUID, BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CanConvert; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImageEncoder.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImageEncoder.cs index 17915c89..53f4f276 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImageEncoder.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImageEncoder.cs @@ -74,26 +74,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(5)] HRESULT WriteThumbnail(ID2D1Image* pImage, IWICBitmapEncoder* pEncoder, [NativeTypeName("const WICImageParameters *")] WICImageParameters* pImageParameters); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (ID2D1Image *, IWICBitmapFrameEncode *, const WICImageParameters *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] WriteFrame; - - [NativeTypeName("HRESULT (ID2D1Image *, IWICBitmapFrameEncode *, const WICImageParameters *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] WriteFrameThumbnail; - - [NativeTypeName("HRESULT (ID2D1Image *, IWICBitmapEncoder *, const WICImageParameters *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] WriteThumbnail; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImagingFactory.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImagingFactory.cs index 33992fbc..aab29bc1 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImagingFactory.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImagingFactory.cs @@ -291,92 +291,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(27)] HRESULT CreateQueryWriterFromReader(IWICMetadataQueryReader* pIQueryReader, [NativeTypeName("const GUID *")] Guid* pguidVendor, IWICMetadataQueryWriter** ppIQueryWriter); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (LPCWSTR, const GUID *, DWORD, WICDecodeOptions, IWICBitmapDecoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDecoderFromFilename; - - [NativeTypeName("HRESULT (IStream *, const GUID *, WICDecodeOptions, IWICBitmapDecoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDecoderFromStream; - - [NativeTypeName("HRESULT (ULONG_PTR, const GUID *, WICDecodeOptions, IWICBitmapDecoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDecoderFromFileHandle; - - [NativeTypeName("HRESULT (const IID &, IWICComponentInfo **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateComponentInfo; - - [NativeTypeName("HRESULT (const GUID &, const GUID *, IWICBitmapDecoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDecoder; - - [NativeTypeName("HRESULT (const GUID &, const GUID *, IWICBitmapEncoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateEncoder; - - [NativeTypeName("HRESULT (IWICPalette **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreatePalette; - - [NativeTypeName("HRESULT (IWICFormatConverter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateFormatConverter; - - [NativeTypeName("HRESULT (IWICBitmapScaler **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapScaler; - - [NativeTypeName("HRESULT (IWICBitmapClipper **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapClipper; - - [NativeTypeName("HRESULT (IWICBitmapFlipRotator **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFlipRotator; - - [NativeTypeName("HRESULT (IWICStream **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateStream; - - [NativeTypeName("HRESULT (IWICColorContext **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateColorContext; - - [NativeTypeName("HRESULT (IWICColorTransform **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateColorTransformer; - - [NativeTypeName("HRESULT (UINT, UINT, REFWICPixelFormatGUID, WICBitmapCreateCacheOption, IWICBitmap **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmap; - - [NativeTypeName("HRESULT (IWICBitmapSource *, WICBitmapCreateCacheOption, IWICBitmap **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromSource; - - [NativeTypeName("HRESULT (IWICBitmapSource *, UINT, UINT, UINT, UINT, IWICBitmap **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromSourceRect; - - [NativeTypeName("HRESULT (UINT, UINT, REFWICPixelFormatGUID, UINT, UINT, BYTE *, IWICBitmap **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromMemory; - - [NativeTypeName("HRESULT (HBITMAP, HPALETTE, WICBitmapAlphaChannelOption, IWICBitmap **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromHBITMAP; - - [NativeTypeName("HRESULT (HICON, IWICBitmap **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromHICON; - - [NativeTypeName("HRESULT (DWORD, DWORD, IEnumUnknown **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateComponentEnumerator; - - [NativeTypeName("HRESULT (IWICBitmapDecoder *, IWICFastMetadataEncoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateFastMetadataEncoderFromDecoder; - - [NativeTypeName("HRESULT (IWICBitmapFrameDecode *, IWICFastMetadataEncoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateFastMetadataEncoderFromFrameDecode; - - [NativeTypeName("HRESULT (const GUID &, const GUID *, IWICMetadataQueryWriter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateQueryWriter; - - [NativeTypeName("HRESULT (IWICMetadataQueryReader *, const GUID *, IWICMetadataQueryWriter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateQueryWriterFromReader; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImagingFactory2.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImagingFactory2.cs index bf5e1fc9..7ad80556 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImagingFactory2.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICImagingFactory2.cs @@ -229,95 +229,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(28)] HRESULT CreateImageEncoder(ID2D1Device* pD2DDevice, IWICImageEncoder** ppWICImageEncoder); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (LPCWSTR, const GUID *, DWORD, WICDecodeOptions, IWICBitmapDecoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDecoderFromFilename; - - [NativeTypeName("HRESULT (IStream *, const GUID *, WICDecodeOptions, IWICBitmapDecoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDecoderFromStream; - - [NativeTypeName("HRESULT (ULONG_PTR, const GUID *, WICDecodeOptions, IWICBitmapDecoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDecoderFromFileHandle; - - [NativeTypeName("HRESULT (const IID &, IWICComponentInfo **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateComponentInfo; - - [NativeTypeName("HRESULT (const GUID &, const GUID *, IWICBitmapDecoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateDecoder; - - [NativeTypeName("HRESULT (const GUID &, const GUID *, IWICBitmapEncoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateEncoder; - - [NativeTypeName("HRESULT (IWICPalette **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreatePalette; - - [NativeTypeName("HRESULT (IWICFormatConverter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateFormatConverter; - - [NativeTypeName("HRESULT (IWICBitmapScaler **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapScaler; - - [NativeTypeName("HRESULT (IWICBitmapClipper **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapClipper; - - [NativeTypeName("HRESULT (IWICBitmapFlipRotator **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFlipRotator; - - [NativeTypeName("HRESULT (IWICStream **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateStream; - - [NativeTypeName("HRESULT (IWICColorContext **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateColorContext; - - [NativeTypeName("HRESULT (IWICColorTransform **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateColorTransformer; - - [NativeTypeName("HRESULT (UINT, UINT, REFWICPixelFormatGUID, WICBitmapCreateCacheOption, IWICBitmap **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmap; - - [NativeTypeName("HRESULT (IWICBitmapSource *, WICBitmapCreateCacheOption, IWICBitmap **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromSource; - - [NativeTypeName("HRESULT (IWICBitmapSource *, UINT, UINT, UINT, UINT, IWICBitmap **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromSourceRect; - - [NativeTypeName("HRESULT (UINT, UINT, REFWICPixelFormatGUID, UINT, UINT, BYTE *, IWICBitmap **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromMemory; - - [NativeTypeName("HRESULT (HBITMAP, HPALETTE, WICBitmapAlphaChannelOption, IWICBitmap **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromHBITMAP; - - [NativeTypeName("HRESULT (HICON, IWICBitmap **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateBitmapFromHICON; - - [NativeTypeName("HRESULT (DWORD, DWORD, IEnumUnknown **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateComponentEnumerator; - - [NativeTypeName("HRESULT (IWICBitmapDecoder *, IWICFastMetadataEncoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateFastMetadataEncoderFromDecoder; - - [NativeTypeName("HRESULT (IWICBitmapFrameDecode *, IWICFastMetadataEncoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateFastMetadataEncoderFromFrameDecode; - - [NativeTypeName("HRESULT (const GUID &, const GUID *, IWICMetadataQueryWriter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateQueryWriter; - - [NativeTypeName("HRESULT (IWICMetadataQueryReader *, const GUID *, IWICMetadataQueryWriter **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateQueryWriterFromReader; - - [NativeTypeName("HRESULT (ID2D1Device *, IWICImageEncoder **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CreateImageEncoder; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICMetadataQueryReader.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICMetadataQueryReader.cs index 625d6571..e02b1e2b 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICMetadataQueryReader.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICMetadataQueryReader.cs @@ -81,29 +81,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(6)] HRESULT GetEnumerator(IEnumString** ppIEnumString); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (GUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetContainerFormat; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLocation; - - [NativeTypeName("HRESULT (LPCWSTR, PROPVARIANT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMetadataByName; - - [NativeTypeName("HRESULT (IEnumString **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetEnumerator; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICMetadataQueryWriter.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICMetadataQueryWriter.cs index 058f86b2..e85bd24f 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICMetadataQueryWriter.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICMetadataQueryWriter.cs @@ -89,35 +89,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(8)] HRESULT RemoveMetadataByName([NativeTypeName("LPCWSTR")] ushort* wzName); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (GUID *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetContainerFormat; - - [NativeTypeName("HRESULT (UINT, WCHAR *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetLocation; - - [NativeTypeName("HRESULT (LPCWSTR, PROPVARIANT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetMetadataByName; - - [NativeTypeName("HRESULT (IEnumString **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetEnumerator; - - [NativeTypeName("HRESULT (LPCWSTR, const PROPVARIANT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetMetadataByName; - - [NativeTypeName("HRESULT (LPCWSTR) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] RemoveMetadataByName; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICPalette.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICPalette.cs index a0e04b40..ab232e6f 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICPalette.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICPalette.cs @@ -141,47 +141,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(12)] HRESULT HasAlpha(BOOL* pfHasAlpha); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (WICBitmapPaletteType, BOOL) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] InitializePredefined; - - [NativeTypeName("HRESULT (WICColor *, UINT) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] InitializeCustom; - - [NativeTypeName("HRESULT (IWICBitmapSource *, UINT, BOOL) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] InitializeFromBitmap; - - [NativeTypeName("HRESULT (IWICPalette *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] InitializeFromPalette; - - [NativeTypeName("HRESULT (WICBitmapPaletteType *) __attribute__((stdcall))")] - public new delegate* unmanaged[Stdcall] GetType; - - [NativeTypeName("HRESULT (UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetColorCount; - - [NativeTypeName("HRESULT (UINT, WICColor *, UINT *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] GetColors; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsBlackWhite; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] IsGrayscale; - - [NativeTypeName("HRESULT (BOOL *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] HasAlpha; - } } } diff --git a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICStream.cs b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICStream.cs index bef24436..c684ddc8 100644 --- a/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICStream.cs +++ b/src/TerraFX.Interop.Windows/Windows/um/wincodec/IWICStream.cs @@ -158,62 +158,5 @@ namespace TerraFX.Interop.Windows [VtblIndex(17)] HRESULT InitializeFromIStreamRegion(IStream* pIStream, ULARGE_INTEGER ulOffset, ULARGE_INTEGER ulMaxSize); } - - internal partial struct Vtbl - { - [NativeTypeName("HRESULT (const IID &, void **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] QueryInterface; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] AddRef; - - [NativeTypeName("ULONG () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Release; - - [NativeTypeName("HRESULT (void *, ULONG, ULONG *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Read; - - [NativeTypeName("HRESULT (const void *, ULONG, ULONG *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Write; - - [NativeTypeName("HRESULT (LARGE_INTEGER, DWORD, ULARGE_INTEGER *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Seek; - - [NativeTypeName("HRESULT (ULARGE_INTEGER) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] SetSize; - - [NativeTypeName("HRESULT (IStream *, ULARGE_INTEGER, ULARGE_INTEGER *, ULARGE_INTEGER *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] CopyTo; - - [NativeTypeName("HRESULT (DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Commit; - - [NativeTypeName("HRESULT () __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Revert; - - [NativeTypeName("HRESULT (ULARGE_INTEGER, ULARGE_INTEGER, DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] LockRegion; - - [NativeTypeName("HRESULT (ULARGE_INTEGER, ULARGE_INTEGER, DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] UnlockRegion; - - [NativeTypeName("HRESULT (STATSTG *, DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Stat; - - [NativeTypeName("HRESULT (IStream **) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] Clone; - - [NativeTypeName("HRESULT (IStream *) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] InitializeFromIStream; - - [NativeTypeName("HRESULT (LPCWSTR, DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] InitializeFromFilename; - - [NativeTypeName("HRESULT (WICInProcPointer, DWORD) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] InitializeFromMemory; - - [NativeTypeName("HRESULT (IStream *, ULARGE_INTEGER, ULARGE_INTEGER) __attribute__((stdcall))")] - public delegate* unmanaged[Stdcall] InitializeFromIStreamRegion; - } } }