swift-com icon indicating copy to clipboard operation
swift-com copied to clipboard

Does not work with Windows 10 SDKs

Open gregcotten opened this issue 1 year ago • 21 comments

A simple swift build call spits out a lot of errors:

Building for debugging...
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12CommandQueue.swift:50:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12DescriptorHeap.swift:38:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:192:66: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetAdapterLuid(pThis, &luid)
                                                         ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:98: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:75: error: cannot convert value of type 'D3D12_HEAP_PROPERTIES' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                          ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:211:88: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'D3D12_HEAP_TYPE'
      let _ = pThis.pointee.lpVtbl.pointee.GetCustomHeapProperties(pThis, &properties, nodeMask, heapType)
                                                                                       ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:115: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:77: error: cannot convert value of type 'D3D12_RESOURCE_ALLOCATION_INFO' to expected argument type 'UINT' (aka 'UInt32')
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                            ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Device.swift:237:97: error: cannot convert value of type 'UINT' (aka 'UInt32') to expected argument type 'UnsafePointer<D3D12_RESOURCE_DESC>?'
      let _ = pThis.pointee.lpVtbl.pointee.GetResourceAllocationInfo(pThis, &info, visibleMask, numResourceDescs, pResourceDescs)
                                                                                                ^
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Heap.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
path\to\swift-com-main\Sources\SwiftCOM\Interfaces\Human\ID3D12Resource.swift:12:59: error: extra argument in call
      let _ = pThis.pointee.lpVtbl.pointee.GetDesc(pThis, &desc)
                                                  ~~~~~~~~^~~~~~
[115/117] Compiling SwiftCOM RawTyped.swift

gregcotten avatar Nov 22 '22 23:11 gregcotten