You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dxcapi.h header annotations affecting language projections. #9086
Description
A couple of issues in dxcapi.h affect generated metadata for language projections.
Functions/methods return COM interface pointers, but their return parameters are annotated as _Out_ and should be _COM_Outptr_: DxcCreateInstance/DxcCreateInstance2 - parameter ppv IDxcCompiler3 - methods Compile and Disassemble parameter ppResult IDxcContainerReflection - method GetPartReflection parameter ppvObject
IDxcLinker and IDxcResult - methods (RegisterLibrary, GetNumOutputs, GetOutputByIndex, PrimaryOutput) are not marked as STDMETHODCALLTYPE. COM interface methods must use stdcall. This makes no difference on x64, but on x86 they use thiscall.
Activity