// ------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// ------------------------------------------------------------------------------
namespace Win32.Graphics.Direct3D;
///
/// ID3DInclude
public unsafe partial struct ID3DInclude : ID3DInclude.Interface
{
public void** lpVtbl;
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(0)]
public HResult Open(IncludeType IncludeType, byte* pFileName, void* pParentData, void** ppData, uint* pBytes)
{
return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ID3DInclude*)Unsafe.AsPointer(ref this), IncludeType, pFileName, pParentData, ppData, pBytes);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(1)]
public HResult Close(void* pData)
{
return ((delegate* unmanaged[MemberFunction])(lpVtbl[1]))((ID3DInclude*)Unsafe.AsPointer(ref this), pData);
}
public interface Interface
{
[VtblIndex(0)]
HResult Open(IncludeType IncludeType, byte* pFileName, void* pParentData, void** ppData, uint* pBytes);
[VtblIndex(1)]
HResult Close(void* pData);
}
}