ファイル
ComputeSharp/src/TerraFX.Interop.Windows.Dynamic/DirectX.cs
T

17 行
835 B
C#

// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/dxcapi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved. Licensed under the University of Illinois Open Source License.
using System;
using System.Runtime.InteropServices;
using TerraFX.Interop.Windows;
namespace TerraFX.Interop.DirectX;
// This type is named DirectX2 to avoid naming conflicts in ComputeSharp.Dynamic
internal static unsafe partial class DirectX2
{
[DllImport("dxcompiler", ExactSpelling = true)]
public static extern HRESULT DxcCreateInstance([NativeTypeName("const IID &")] Guid* rclsid, [NativeTypeName("const IID &")] Guid* riid, [NativeTypeName("LPVOID *")] void** ppv);
}