mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
Massive folder rename, follow Apis convention, separate Imaging (WIC)
This commit is contained in:
26
src/Vortice.Win32.Graphics.Direct3D.Dxc/Apis.cs
Normal file
26
src/Vortice.Win32.Graphics.Direct3D.Dxc/Apis.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
// Copyright © Amer Koleci and Contributors.
|
||||
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Win32.Graphics.Direct3D.Dxc;
|
||||
|
||||
public static unsafe partial class Apis
|
||||
{
|
||||
public static HResult DxcCreateInstance(in Guid rclsid, Guid* riid, void** ppv)
|
||||
{
|
||||
return DxcCreateInstance(
|
||||
(Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in rclsid)),
|
||||
riid,
|
||||
ppv);
|
||||
}
|
||||
|
||||
public static HResult DxcCreateInstance2(Com.IMalloc* pMalloc, in Guid rclsid, Guid* riid, void** ppv)
|
||||
{
|
||||
return DxcCreateInstance2(
|
||||
pMalloc,
|
||||
(Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in rclsid)),
|
||||
riid,
|
||||
ppv);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user